VERIFIED SOLUTION i

Resolve java.net.BindException: Address already in use error in Spectrum

Operating System: Windows, Linux, UNIX
    
Product affected: Spectrum™ Technology Platform

Versions: All versions



 

Issue

WrapperSimpleApp Error: Caused by: java.net.BindException: Address already in use

The Spectrum server will not start.

 

Cause

One or more of the ports Spectrum is trying to open and accept connections on is already being used by another application.  

Resolution

UPDATED: September 5, 2019
Use the netstat command in the command line to determine which port is already being used. Check each port for the version of Spectrum that is installed.

For Unix/Linux servers, in the command line, enter: netstat -an | grep [port] .

For Windows servers: 
  1. Click Start > Run.
  2. Type cmd.
  3. Enter: netstat -aon | findstr [port] .
Spectrum, by default, will attempt to use these ports:

Spectrum 9 SP3 and newer:
  • 2424-2430
  • 2434
  • 2480-2486
  • 5701
  • 8080
  • 10119
Spectrum 8.0:
  • 8080
  • 1701
  • 10119
  • 61616