[NBLUG/talk] Cannot bind to a port
Todd Cary
todd at aristesoftware.com
Fri Jul 22 15:10:50 PDT 2005
Frank -
Here are the results of "netstat -ln | grep tcp":
tcp 0 0 0.0.0.0:32769
0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:139
0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111
0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21
0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631
0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:5335
0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25
0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:445
0.0.0.0:* LISTEN
tcp 0 0 :::22
:::* LISTEN
Todd
E Frank Ball wrote:
>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
>
>
>
--
-------------- next part --------------
Skipped content of type multipart/related
More information about the talk
mailing list