[K12OSN] Apache Problem
Christopher K. Johnson
ckjohnson at gwi.net
Sat Apr 10 13:38:59 UTC 2004
As root find out what program is using port 80 (http):
netstat -atp|grep http
The t restricts results to tcp since we really only care about tcp port
80. And the p displays the program using each port.
Mine returns:
tcp 0 0 *:http *:*
LISTEN 3098/httpd
tcp 0 0 *:https *:*
LISTEN 3098/httpd
Meaning that pid 3098 program httpd is listening on http and https ports.
You can also easily check whether a service is running:
service httpd status
httpd (pid 3108 3107 3106 3105 3104 3103 3102 3101 3098) is running...
--
-----------------------------------------------------------
"Spend less! Do more! Go Open Source..." -- Dirigo.net
Chris Johnson, RHCE #807000448202021
More information about the K12OSN
mailing list