302
•
Do not configure the HTTPS listening port number as the default HTTP listening port number
80.
•
Do not configure the same listening port number for HTTP and HTTPS.
•
For the HTTPS-based local portal Web service and other services that use HTTPS:
If they use the same SSL server policy, they can use the same TCP port number to listen to
HTTPS.
If they use different SSL server policies, they cannot use the same TCP port number to
listen to HTTPS.
Examples
# Set the listening port number to 2331 for the HTTP-based local portal Web service.
<Sysname> system-view
[Sysname] portal local-web-server http
[Sysname-portal-local-websvr-http] tcp-port 2331
Related commands
portal local-web-server
url
Use
url
to specify a URL for a portal Web server.
Use
undo url
to restore the default.
Syntax
url
url-string
undo url
Default
No URL is specified for a portal Web server.
Views
Portal Web server view
Predefined user roles
network-admin
mdc-admin
Parameters
url-string
: Specifies a URL for the portal Web server, a case-sensitive string of 1 to 256 characters.
Usage guidelines
This command specifies a URL that can be accessed through standard HTTP or HTTPS. The URL
should start with
http://
or
https://
. If the URL you specify does not start with
http://
or
https://,
the
system considers the URL begins with
http://
by default.
To redirect users' HTTPS requests to the portal Web server URL, you must specify the HTTPS
redirect listening port number by using the
http-redirect https-port
command. For more information
about this command, see HTTP redirect commands in
Layer 3—IP Services Command Reference
.
Examples
# Configure the URL for portal Web server
wbs
as
http://www.test.com/portal
.
<Sysname> system-view
[Sysname] portal web-server wbs