184
Example 2:
Disable the HTTP service.
<Sysname> system-view
[Sysname] undo ip http enable
ip http port
Syntax
ip http port
port-number
undo ip http port
View
System view
Default Level
3: Manage level
Parameters
port-number
: Port number of the HTTP service, which ranges from 1 to 65535.
Description
Use the
ip http port
command to configure the port number of the HTTP service.
Use the
undo ip http port
command to restore the default.
By default, the port number of the HTTP service is 80.
This command does not check whether the configured port number conflicts with that
of an existing service. Therefore, you must be sure that the port number is not used by
another service before the configuration.
Related commands:
display ip http
.
Examples
Configure the port number of the HTTP service as 8080.
<Sysname> system-view
[Sysname] ip http port 8080