Server port

From Box Of Stops Online Help
Revision as of 17:23, 3 June 2017 by Boxofstops (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

When Starting Box Of Stops, if you may see a message about being unable to allocate an address:

java.net.BindException: Failed to start Box Of Stops - already running?
Caused by: java.net.BindException: Address already in use: bind

This means something is already running and using the normal web hosting port number - port 80.

The first possibility is that Box Of Stops is already running? You may need to stop it first.

The other possibility is that there is another application hosting web pages on your machine. E.g. on Windows, print services sometimes allocate port 80.

To fix this, please add or edit a line in the Application properties file for the server.port value, and change it to a different value than 80. E.g.:

server.port = 8080

If you continue to see java.net.BindException: Address already in use: bind, then please try a different port value.

Once Box Of Stops is started again, you can connect from a browser by adding the alternative port after a colon, e.g. http://192.168.1.128:8080