[kwlug-disc] Ubuntu 12.04 LTS localhost* and internet fail - where to start^h^h^h^h^h continue?
kwlug.org at ciotog.net
Thu Apr 10 16:03:40 EDT 2014
This is a bit more generic as far as determining whether something is
listening on port 80:
sudo netstat -tunlp | grep :80
The web server could potentially be httpd, lighttpd, nginx, miniserv,
etc. Not likely on Ubuntu 12.04 but not impossible either (and I
always believe in covering specific cases generically when possible).
What does the following return (and here I'm violating my "generic" rule)?
sudo service apache2 restart
On 10 April 2014 15:40, Adam Glauser <adamglauser at gmail.com> wrote:
> On Apr 10, 2014 3:34 PM, "John Johnson" <jvj at golden.net> wrote:
>> $ 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.
> Is Apache running?
> Check your startup log (or maybe manually start Apache in non-daemon mode if
> it has one). Is there an error? One common error is that fit is running as a
> user with insufficient permissions to bind port 80.
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
More information about the kwlug-disc