FAQs (EN)

40. The following error messages are displayed in the socket server log:


Socket: Throwing exception ...
Socket: Exception error number: 125
Socket: Exception message: bind failed, error 125: Address already in use.

This error message indicates that the socket server was attempted to start on a port that is already in use by another program or process. The following command can be used under Linux, for example, to find out which ports are currently in use:

netstat -nlp | grep "^tcp"

On Sun Solaris 10, you have the following possibility to get information about the occupied ports:

lsof | grep [PORTNUMMER]

Under Windows the "netstat" command also helps to get more information about the used ports:

netstat

Note

The error number (see example above) depends on the operating system (here Sun Solaris 10).