Jetty: Address already in use

Description

This error indicates that the Jetty web server was unable to start because one of the configured ports was already in use by the operating system.

Error message

Displayed in the Displayed in the jetty.log.X file file.

java.net.BindException: Address already in use

Cause

This error indicates that the Jetty web server was unable to start because one of the configured ports was already in use by the operating system.

The default ports used by Jetty are ports 80, 443 and 8443. If any of these ports are already in use Jetty will not start.

Resolution

  • Ensure that the configured ports for Funnelback are available on the server. Removing other unused web servers (such as II or Apache) will assist in this.

  • If any of Jetty’s default ports are required for other services then update the port configuration in global.cfg and restart Jetty.

using non-standard ports will mean that access to Funnelback will need the use the new custom port.