Download Print this page

Tcp-Port - HP FlexNetwork MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for FlexNetwork MSR Series:

Advertisement

Related commands
display portal server

tcp-port

Use tcp-port to configure a listening TCP port for the local portal Web server.
Use undo tcp-port to restore the default.
Syntax
tcp-port port-number
undo tcp-port
Default
The listening TCP port number for HTTP is 80 and that for HTTPS is 443.
Views
Local portal Web server view
Predefined user roles
network-admin
Parameters
port-number: Specifies the listening TCP port number in the range of 1 to 65535.
Usage guidelines
To use the local portal Web server, make sure the port number in the portal Web server URL and the
port number configured in this command are the same.
For successful local portal authentication, follow these guidelines:
Do not configure the listening TCP port number for a local portal Web server as the port number
used by a known protocol. For example, do not specify port numbers 21 and 23, which are used
by FTP and Telnet, respectively.
Do not configure the HTTP listening port number as the default HTTPS listening port number
443.
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.
Examples
# Set the HTTP service listening port number to 2331 for the local portal Web server.
<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.
315

Advertisement

loading