[Gllug] Configuring apache to accept connections

Mark Preston mark at markpreston.co.uk
Mon May 21 23:42:14 UTC 2007


Hi Tethys,
Thanks for the prompt reply.

root at ljp:/usr/local/apache/bin# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address    State PID/Program
name
tcp        0      0 0.0.0.0:80      0.0.0.0:*          LISTEN 9029/httpd
tcp        0      0 127.0.0.1:631   0.0.0.0:*          LISTEN 2783/cupsd

> 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.

I don't know the first thing about iptables, so I'm not sure how to do
this. This server is only for testing purposes, not intended to be
accessible except on my LAN at home. I use positive-internet for hosting
my online website. My router does NAT to the outside world and DHCP to
ethernet connected home PCs.

-- 
Regards,
Mark Preston
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list