[Gllug] Configuring apache to accept connections
Tethys
sta296 at astradyne.co.uk
Mon May 21 22:49:39 UTC 2007
Mark Preston writes:
>root at ljp:/home/mark# lsof -i tcp | grep httpd
>httpd 19538 root 16u IPv4 3602461 TCP *:www (LISTEN)
>httpd 19539 nobody 16u IPv4 3602461 TCP *:www (LISTEN)
>httpd 19540 nobody 16u IPv4 3602461 TCP *:www (LISTEN)
>httpd 19541 nobody 16u IPv4 3602461 TCP *:www (LISTEN)
>httpd 19542 nobody 16u IPv4 3602461 TCP *:www (LISTEN)
>httpd 19543 nobody 16u IPv4 3602461 TCP *:www (LISTEN)
Use "netstat -ntlp" to show which processes are listening on a which
ports. lsof is inaccurate (as in this case -- only one of those httpd
processes is listening on port 80)
>Any help on how to proceed would be greatly appreciated. I have tried to
>alter some of the settings in httpd.conf file but with no success so far.
If there is a process is listening on a given tcp port but you can't
telnet to it, it's almost invariably iptables blocking the traffic.
Do you have a rule to allow traffic on the lo interface? If not, it's
probably worth adding one for all but the most security paranoid setups.
Tet
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list