Hi Tim,

Sorry, been busy...

> > Have a look at the output of
> >
> >      sudo lsof -ni4tcp:80
> 
> mit@vulcan ~ $ sudo lsof -ni4tcp:80
> [sudo] password for mit:
> COMMAND  PID USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
> firefox 8342  mit   53u  IPv4 11765792      0t0  TCP 
> 192.168.0.55:33033->88.221.88.73:http (ESTABLISHED)
> firefox 8342  mit   54u  IPv4 11763161      0t0  TCP 
> 192.168.0.55:33034->88.221.88.73:http (ESTABLISHED)
> firefox 8342  mit   56u  IPv4 11763162      0t0  TCP 
> 192.168.0.55:33035->88.221.88.73:http (ESTABLISHED)
> firefox 8342  mit   57u  IPv4 11763163      0t0  TCP 
> 192.168.0.55:33036->88.221.88.73:http (ESTABLISHED)
> firefox 8342  mit   60u  IPv4 11763164      0t0  TCP 
> 192.168.0.55:33037->88.221.88.73:http (ESTABLISHED)
> firefox 8342  mit   61u  IPv4 11763165      0t0  TCP 
> 192.168.0.55:33038->88.221.88.73:http (ESTABLISHED)
> firefox 8342  mit   65u  IPv4 11760861      0t0  TCP 
> 192.168.0.55:37859->173.194.34.128:http (ESTABLISHED)
> 
> (and before anybody rushes to whois they are Akamai and Google IP)
> 
> No sign of Apache listening

Sorry, it seems the `4' for IPv4 stops it listing the listening sockets
because they're under IPv6.  Having tried it, I find

    sudo lsof -nitcp:80

works for me, e.g.

    httpd   5341 apache    4u  IPv6  470457523       TCP *:http (LISTEN)

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

Reply via email to