Feisty, can't connect to localhost

Dan Stieg dan.stieg at gmail.com
Sun Jul 22 16:13:00 UTC 2007


On Sat, 2007-07-21 at 17:48 -0300, Derek Broughton wrote:
> Dan Stieg wrote:
> 
> > I am trying to set up apache. I installed both apache and apache2 and am
> > unable to connect to localhost through Firefox or telnet. I added port
> > 80 to iptables. sudo telnet localhost gives:
> > 
> > Trying 127.0.0.1...
> > telnet: Unable to connect to remote host: Connection refused
> 
> By default, port 80 shouldn't be blocked, so I see two possibilities. 
> Either you wrote the rule wrong and _now_ you're blocking it, or apache
> isn't really running.
> 
> First, decide which apache you want.  I see no good reason to
> install "apache" for a fresh install, so install "apache2".
> 
> Then use ps to make sure it's running.
> -- 
> derek
> 
> 
Apache was not running. I started it and problem solved.

Thanks,

Dan





More information about the ubuntu-users mailing list