Changing Default Web port

tirdadtes

Cadet
Joined
Jun 15, 2019
Messages
2
Hi guys

I'm newbie about Freenas

I install Freenas and configure all steps (IP Address , DNS,Default Route) and it's work perfectly
but today i decide change Default web port 80=>95 , and when i changed it - Freenas can't open in Web Browser ?
after that i delete network configuration and assign again ip address ,but freenas Don't return port 95 to Default Port (80)
i think it means i have to login to my console and use Option 9 for shell to change web configuration but i don't find it, so now this is my question how can i fix this problem ?

Best Regards
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
Hi guys

I'm newbie about Freenas

I install Freenas and configure all steps (IP Address , DNS,Default Route) and it's work perfectly
but today i decide change Default web port 80=>95 , and when i changed it - Freenas can't open in Web Browser ?
after that i delete network configuration and assign again IP address ,but freenas Don't return port 95 to Default Port (80)
i think it means i have to login to my console and use Option 9 for shell to change web configuration but i don't find it, so now this is my question how can i fix this problem ?

Best Regards
If you change the web port, you have to instruct your web browser to use that port in order to access your NAS. Example: if your NAS is at IP address 192.168.1.10, you would need to browse to http://192.168.1.10:95 in order to access the web interface at port 95. Hope this helps.

Question: why do you want to change the default web port?
 

jro

iXsystems
iXsystems
Joined
Jul 16, 2018
Messages
80
You would have to edit nginx's config file located at /etc/local/ngingx/nginx.conf. Note that any changes to this file will revert on a reboot. To make them persist, you would have to create an init script to automatically make the changes for you.
 
Top