Hazardous webGUI port change

Status
Not open for further replies.

Zorglub

Cadet
Joined
Jan 9, 2012
Messages
7
Hi everybody,
I'm afraid I made a mistake with changing the webgui port. Since this time, I don't have any access with the webgui to the freenas administration gui.

Is there any way to revert to the original port thru a terminal session ,

Thanks a lot

FX
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
First you'll need to remount your / filesystem so it's read-write like this: mount -uw /

This will update the IP address for the GUI (change the 192.168.1.50 to the IP address you want to use)
sqlite3 /data/freenas-v1.db "update system_settings set stg_guiaddress='192.160.1.50';"


This will reset the GUI port to 80
sqlite3 /data/freenas-v1.db "update system_settings set stg_guiport='80';"

You'll need to reboot for changes to take effect. The first command for changing the IP address for the GUI isn't necessary if you just want to reset the port, I just included it here for the next person that comes along and want to know how to reset that.
 
Status
Not open for further replies.
Top