Re: Re: Unable to bind tcp/ip socket: Address already in use

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Unable to bind tcp/ip socket: Address already in use Re: Re: Unable to bind tcp/ip socket: Address already in use

#58683
Steve Carter
Participant

    Assuming AIX….

    What port number are you trying to use?  If the port number is too low, it may be a system process that is using it or you could be using a port number in the ephemeral range.  The following command will tell you the ephermal range:

    $ no -a | grep tcp | grep eph

          tcp_ephemeral_high = 65535

           tcp_ephemeral_low = 32768

    You should try to avoid port numbers in this range as they are basically reserved for other processes.

    There are ways to determine if a system process has the port in use.  On AIX you can use ‘lsof’.

    Let me know if you have any more questions.

    Hope this helps.

    Steve

    Mary Kobis wrote:

    Just looking for clarification…

    I haven’t seen this message in a long time, “Unable to bind tcp/ip socket: Address already in use”… I’m assuming that the port is “stuck” since both the vendor and I have reset our interfaces (multiple times and multiple ways). Other than changing the port number, what else can I do from the engine side to resolve this conflict?

    Thanks in advance for your input, Mary.