Changing Web Port
Guidance of how to change the Web GUI interface port on the 4G router.
The internet operators usually block 80 ports, which are used by the web interface of the 4G router. To access the 4G router remotely on the public IP address, we need to change the port for the web interface.
When the router is turned on, access the command-line interface. Input the below command vi /etc/lighttpd/lighttpd.conf
. Now, we are in the command mode of the VI editor.
Press i on the keyboard to enter the insert mode.
Scroll down to line No.89. The original code is
#server.port = 81
.Delete
#
and change the server port to880
, for example.Press ESC on the keyboard. Exit from the insert mode to the command mode.
Press
: wq
on the keyboard to save the file and exit to the SSH terminal.
Input the below command to restart Lighttpd. server /etc/init.d/lighttpd restart
.
Now, we should re-login the router admin at http://192.168.20.1:
880
. If your router has a public IP address, you can access the router at public-ip-address:880
.
*Besides using the VI editor, you can also use an SFTP client software, like WinSCP, to edit the lighttpd.conf
file.
Last updated