How to change the HTTP and HTTPS management ports on UTM Appliances using CLI

Description

The SonicWall uses default ports of 80 and 443 for HTTP and HTTPS management. These can be changed by logging into the UTM appliance by using a web browser and under the Device | Settings | Administration | Management  page and make sure that new management ports doesn't conflict with any of the ports that the firewall is listening on. You may need to use the CLI if you don't have access to firewall GUI because you do not remember the port which you were using to access the management.

Resolution


  1. Make sure SSH is enabled on the X0 interface.
  2. Open Putty                                                                                                                                                                                                                         Image                                                                                                                                                                                                  
  3. Set Baud = 115200
    Date bits = 8.
    Parity = None.
    Stop bits = 1.
    Flow Control= None.                                                                                                                                                                                                                     Image                                                                                                                                                                                                                           
  4. Refer this article to login to the sonicwall using putty,How can I login to the appliance using the Command Line Interface (CLI)?   
  5. Run the following commands:

          >Configure 

          >Administration

          >http-port  <port-number>

          >commit

          >https-port  <port-number>

          >commit

          >exit


Now we can login to the firewall with new or default port number (80/443).

Related Articles

  • SonicOS 8.1.0 FAQ
    Read More
  • SonicWall GEN8 TZs and GEN8 NSas Settings Migration
    Read More
  • Getting started with SonicWall firewalls
    Read More
not finding your answers?