Monday, November 18, 2019

apache 2.2 - Can't start apache2 on Debian Squeeze

I installed apache with apt-get install apache2 then tried wget localhost and got:



--2012-09-21 23:12:29--  http://localhost/

Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... failed: Connection refused


Then I tried /etc/init.d/apache2 status and sure enough, apache2 wasn't running but it still wouldn't start the service if I do /etc/init.d/apache2 start.



Any help is appreciated!

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...