Change the default Port for Web Access

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Waylander
Posts: 3
Joined: Tue Jan 31, 2012 12:23 pm

Change the default Port for Web Access

Post 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
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Change the default Port for Web Access

Post 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.
Nicholas Scott
Former Nagios employee
Waylander
Posts: 3
Joined: Tue Jan 31, 2012 12:23 pm

Re: Change the default Port for Web Access

Post by Waylander »

Thanks for the info is it possible to listen on more than one port
Like 80 and 8083

Regards Martin
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Change the default Port for Web Access

Post by yancy »

Just add each port you want to httpd.conf

for example:

Listen 80
Listen 8000
Locked