How can I change the port number of Nagwin's built-in web server ?

You may observe that the Nagios web interface is not available directly via http://localhost, http://hostname or http://ip-address, because of the standard http port 80 is occupied by an other web server (IIS for example). The procedure below helps you to configure Nagwin web server to listen to an alternative port:

  • Start a text editor capable of editing a text file with Unix line endings (Wordpad for example)
  • Edit file <Nagwin installation directory>\etc\nginx\nginx.conf:
server {
 listen 80; <-- replace by a new port, 2080 for example
        server_name  localhost;

  • Restart Nagwin_Nginx service.