The web-manager enable command enables the web server function on a FW.
The undo web-manager enable command disables the web server function on a FW.
web-manager enable [ port port-number ]
web-manager security enable [ port port-number ]
undo web-manager enable [ port port-number ]
undo web-manager security enable [ port port-number ]
| Parameter | Description | Value |
|---|---|---|
security |
Indicates the type of packets exchanged between the web browser and the web server. You can configure as follows:
|
- |
port port-number |
Specifies the listening port number for the web server. |
|
The FW enables ports 80 and 8443 to provide the HTTPS service by default. When you use the web browser to access port 80, the FW automatically redirects the access to port 8443 for you to log in through HTTPS.
For security purposes, to log in to the web UI, you need to run both the web-manager enable and web-manager security enable commands, but not by only running the web-manager enable command.
If web-manager enable and web-manager security enable are run, to disable the web server, you must run both the undo web-manager enable and undo web-manager security enable commands.
In NAT Server and NAT64 scenarios, when you use the web browser to access port 80, the FW does not automatically redirect the access to port 8443. To access port 8443, login through HTTPS is recommended.
Before changing the service port number of the web server, run the undo web-manager [ security ] enable [ port port-number ] command to delete the configured service port. Otherwise, the change will fail.