KB#00264-Error binding stream socket: address already in use, when using the Data Server
Error binding stream socket: address already in use, when using the Data Server
The 'error binding stream socket' error message can occur when a Data Server is already running on the specified port. This can also occur just after a Data Server process has been killed - it can take the server's operating system anywhere from a few seconds to several minutes to recycle the port.
There are two ways to get around this. The first involves waiting for the operating system to clean up and recycle the socket. The second method involves starting up the Data Server on a new socket. This can be done by using the -p parameter with an unused socket. So, if the original Data Server was running on port 1100, you would not want to use that one again and might want to try 1101, if that isn't already used. Alternatively, there could be another entry in /etc/services that specified port 1101 and the -s command line parameter could be used to select that entry instead of the default bbxsrv. However, note that programs and config.tpm files may be hardcoded to use only one port.
Last Modified: 12/29/1997 Product: PRO/5 Data Server
BASIS structures five components of their technology into the BBx Generations.