"Address already in use" error from socket bind, when ports are not being used
Posted
by
Ivan Novick
on Server Fault
See other posts from Server Fault
or by Ivan Novick
Published on 2010-09-09T16:37:54Z
Indexed on
2012/12/09
17:06 UTC
Read the original article
Hit count: 479
I can not bind (using C or python sockets) to any port in the range: 59969-60000
Using lsof, netstat and fuser I do not see any processes using these ports.
Other ports such as 59900-59968 and 60001-60009 I can bind to them.
My OS: is CentOS release 5.5 (Final) 2.6.18-194.3.1.el5
There must be something missing? Anyone have any idea how to debug why this port range is not usable?
Cheers, Ivan
© Server Fault or respective owner