var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Unable to bind to specific port
I was trying to run a application on my linux box and it told me it could not bind to the allocated port.
I did a netstat -ln and saw that nothing was being listened to on the port.
I rebooted, and still would not let me bind to that port.
How else am I supposed to determine whats stopping me?
Nothing in iptables nullrouting traffic away from the port either..
Thanks in advance
Last edited by Steven; 03-19-2004 at
Which application are we talking about? A tool which literally owns me is sockstat (
http://www.reznor.com/tools/sockstat.c ). If it's a daemon (http, mysql, whatever) and it starts at boot, and you try and start it again, the previous instance will, of course, have posession of the port.
Hope that helps
This might sound really idiotic.
Check the IP and see if the ip your trying to use is binded onto the server. If the ip is binded check to see if your config or program is using the proper ip.
Can I know which application you have tried? Have you tried listening to some other ports? Try netstat -lnp | grep port number
It indicates you which process is listening on that port.