[NBLUG/talk] Cannot bind to a port

E Frank Ball frankb at frankb.us
Fri Jul 22 12:06:59 PDT 2005


On Fri, Jul 22, 2005 at 11:15:23AM -0700, Todd Cary wrote:
} I have httpd set to use port 81, however when I try to start it, it 
} cannot bind to that port.
} 
} Do I use netstat to "open" port 81?
} 
} I have never had a bind problem before, so this is a new area...

What is the output of:
netstat -ln | grep tcp

This will show if anthing is running on port 81.
netstat -l | grep tcp
Will give names instead of port numbers.
The /etc/services file has the port number assignments.

lsof -i TCP:81
Will show what process is running on port 81

-- 

   E Frank Ball                frankb at frankb.us



More information about the talk mailing list