TuskenTower on 3 Aug 2006 14:10:12 -0000 |
On 8/3/06, Randy Schmidt <x@altorg.com> wrote: Thanks! I used it and it gave me the info I was looking to get...but I didn't see anything listening on port 80. When I try to start up Apache, it says it can't bind to port 80, is that different from another program using that port? I tried port 81 and everything worked... Randy, Just an off-hand thought, check for TIME_WAIT in the netstat ouput for port 80. I believe that one often shows up when you stop and start a service too quickly. The program using the port is gone, but the OS is waiting for all communication to end (or something like that). netstat -a | grep 80 The man page says: TIME_WAIT The socket is waiting after close to handle packets still in the network. Also, the man page says using "netstat -l" will give you only the ports that are being listened on (heh, I learned something by reading the man pages). HTH Amul ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|