Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

"Unable to open http server on port" error

This information applies to License Statistics releases prior to v4.0. This error does not occur with License Statistics v4.0 and newer.

The License Statistics Usage Monitor is configured by default to use port 80 for the http server, which is used to display the statistics HTML pages in the browser. If this port (or another port you specified in the configuration file) is already being used by another application, you will see an error similar to the following:

[2009-05-04 14:35:40] WARNING: Cannot bind on TCP 0.0.0.0:80! Make sure no other applications use this port!
[2009-05-04 14:35:40] FAIL: Unable to open http server on port 80!
[2009-05-04 14:35:40] Shutting down due to exit signal
[2009-05-04 14:35:40] Starting monitor of 27000@localhost with query interval of 60 seconds!
[2009-05-04 14:35:40] Stopping monitor of 27000@localhost!


To resolve this, either free up the port by ending the applications that are using it, or try changing the port setting in the configuration file (xflicstat.cfg) to WEBSERVER_PORT=8080. Restart the Usage Monitor after making changes to the configuration file, and recheck the log file to ensure the error is resolved.