[kwlug-disc] Ubuntu 12.04 LTS localhost* and internet fail - where to start^h^h^h^h^h continue?

John Johnson jvj at golden.net
Thu Apr 10 15:33:50 EDT 2014


On 2014-04-10 13:42, Khalid Baheyeldin wrote:
> $ netstat -tunlp | grep apach
> tcp6       0      0 :::80                   :::*                    
> LISTEN      24311/apache2
> The above is the PID of the Apache process, and it is listening on 
> port 80.
>
> If you use wget with HTTP headers, you will see what the server is 
> sending (if it is sending anything). That way you know if it is 
> Firefox or something else.
>
> $ wget --server-response -O /dev/null localhost
> --2014-04-10 13:40:22-- http://localhost/
> Resolving localhost (localhost)... ::1, 127.0.0.1
> Connecting to localhost (localhost)|::1|:80... connected.

$ netstat -tunlp
returned many hits ... advised to be root to see more
$ sudo netstat -tunlp
returned many hits
$ sudo netstat -tunlp | grep apach
NADDA

$ wget --server-response -O /dev/null localhost
--2014-04-10 15:16:20-- http://localhost/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... *failed: Connection refused.*

Thanks
JohnJ

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20140410/cbd90e1b/attachment.htm>


More information about the kwlug-disc mailing list