Hi Tim,
> mit@vulcan ~ $ sudo lsof -nitcp:80
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> apache2 10112 root 3u IPv6 1435670 0t0 TCP *:http (LISTEN)
> apache2 14700 www-data 3u IPv6 1435670 0t0 TCP *:http (LISTEN)
> apache2 14701 www-data 3u IPv6 1435670 0t0 TCP *:http (LISTEN)
> apache2 14702 www-data 3u IPv6 1435670 0t0 TCP *:http (LISTEN)
> apache2 14703 www-data 3u IPv6 1435670 0t0 TCP *:http (LISTEN)
> apache2 14704 www-data 3u IPv6 1435670 0t0 TCP *:http (LISTEN)
>
> Cant say I really understand what you mean, are you saying something
> is mis-configured (my previous post) which is blocking apache from
> listening correctly??
Well the above shows that it's listening on all interfaces because of
the `*' in `*:http', and on the standard TCP port, `http' which should
be 80 in /etc/services. So it's not a matter of picking the right
interface to talk to it on.
Pick one of the `inet' listed in `ip address show', e.g. 127.0.0.1, and
try
printf 'GET / HTTP/1.0\r\n\r\n' | nc 127.0.0.1 80
We know apache2 is listening so you should be able to connect and get a
reply. If that works then it's down to Apache's configuration versus
what you're asking of it.
Cheers, Ralph.
--
Next meeting: ???, ???day, 2012-11-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/
New thread on mailing list: mailto:[email protected]
How to Report Bugs Effectively: http://goo.gl/4Xue