netstat question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The other day I decided I should get with the 21st century and learn something about Apache, PHP and the like. I downloaded the packages, started it up, pointed my browser at the local machine and, voila! I get the default page. Great! Everything is working.

Today, I try to start Apache and I get the following error:

(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Hmmm... something else is using port 80. Just to verify that, I changed the Listen directive in my httpd.conf file from 80 to 81 and Apache starts OK. So, let me see what is using port 80:

# netstat -plant | grep 80
tcp        0      0 127.0.0.1:8000              0.0.0.0:*                   LISTEN      3091/nasd           
tcp        0      0 192.168.1.100:51869         75.180.132.46:443           ESTABLISHED 3803/epiphany       
tcp        0      0 192.168.1.100:58782         64.154.83.64:443            ESTABLISHED 3803/epiphany       
tcp        0      0 192.168.1.100:54960         64.154.83.64:443            ESTABLISHED 3803/epiphany       

Nothing!! OK, now I'm confused. How do I get netstat to show me who is using port 80?

Thanks
Steve


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux