Page 1 of 1

Change the default Port for Web Access

Posted: Tue Jan 31, 2012 12:29 pm
by Waylander
Hi All

I nned to change Apache from the normal web port of http://servername/nagiosxi to http://servername:8083/nagiosxi

Is this possible the reason for this is we have to many mapped inbound services through our firewall and i want to use touchmon for the iphone for out of hours.

Any help would be most appreciated

and i have tried just adding a Listen entry in hppd.conf with no success

Regards Martin

Re: Change the default Port for Web Access

Posted: Tue Jan 31, 2012 2:04 pm
by nscott
Martin,

You were on the right track. What you'll need to do is find the Listen 80 line in the httpd.conf and comment it out, then add your line. Then restart httpd, also keep in mind you'll need to change your firewall settings to allow traffic to come in and out of those ports.

Also, if you use NRDP for passive checks you will need to change the port that it sends information to.

Re: Change the default Port for Web Access

Posted: Tue Jan 31, 2012 2:12 pm
by Waylander
Thanks for the info is it possible to listen on more than one port
Like 80 and 8083

Regards Martin

Re: Change the default Port for Web Access

Posted: Tue Jan 31, 2012 4:45 pm
by yancy
Just add each port you want to httpd.conf

for example:

Listen 80
Listen 8000