Changing the default port number
The init.cfg
file in the Network Monitor directory contains the configuration parameter that tells the web server what port number to use. Locate the line WEBSERVER_PORT
and change it to a free port number you wish to use. You do not need to restart Network Monitor to make the changes take affect, Network Monitor monitors the file for changes and automatically reloads the file and makes the necessary changes.
For example, this statement sets the port number to 8084:
WEBSERVER_PORT = 8084
Binding the management interface to one or more interfaces
You can optionally change the address the web server listens to. Specifying this variable overrides the WEBSERVER_PORT
variable.
WEBSERVER_BIND=192.168.42.32:8080
A more advanced feature is to bind the web server to several interfaces. Separate the different IP/port combinations with a semi-colon.
WEBSERVER_BIND=192.168.42.32:8080;192.168.42.31:8081