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.
>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).