CLI Reference Guide Basic Configuration Management
ip http port
To set the port of the HTTP service, use this command in the global configuration mode:
ip http port number
Port number of the HTTP server, the default value is 80.
Global configuration mode.
This command is used to set the port of the HTTP service. Use the no ip http port command to
restore it to the default setting.
The example below set the port of the HTTP service as 8080:
Ruijie(Config)# ip http port 8080
Enable or disable the specified service.
ip http source-port
This command is used to configure the port for HTTPS services in the global configuration mode.
ip http source-port number
Configure the port for HTTPS services, and the default value is 443.
Global configuration mode.
This command is used to configure the port for HTTPS services. The no form of this command is
used to restore the default port configuration.
The example below sets the port for HTTPS services as 4443.
Ruijie(config)# ip http secure-port 4443
Enable or disable the specified service.
Show the status of the web server.