bookmark - Apache Down http://localhost/ doesn't work.

Apache Down - http://localhost/ doesn't work.

 
 Discussion by HannahI with 7 Replies.
 Last Update: March 9, 2010, 8:36 pm
 
bookmark - Apache Down http://localhost/ doesn't work.  
    
free web hosting
 
As said in the descripition, http://localhost/ will output the error: Safari can't open the page http://localhost/ because it cannot connect to the server localhost. I checked the apache error log, httpd.conf syntax, and Skype ports but I am still getting the stupid error.
Hope you can help me,
-Hannah

Sun Mar 7, 2010    Reply    New Discussion   


I forgot to say that even if I do the sudo apacheclt start thing terminal will say something simmilar to "Apache is all ready on".

Sun Mar 7, 2010    Reply    New Discussion   

As I understand you're using Linux due to you use sudo? or is it Windows?

You said you looked at Skype ports? it really doesn't use port 80 and you removed the checkbox for Skype to be able to use that port? maybe some other software is using the port 80?

How did you install Apache?

Mon Mar 8, 2010    Reply    New Discussion   

Quatrux, I'm on a mac, and I didn't install Apache, since Mac was built on a FreeBSD on automaticly comes with Apache.

Mon Mar 8, 2010    Reply    New Discussion   


I would say that, on your system, the apache httpd port is not 80
Have a look at your httpd.conf file, and tell me what is after the word "Listen"
Sometimes, when the 80 port is busy, httpd is configured to start on another port, like 8080, or on 8118.
for instance only root can start httpd on the 80 port, but everyone can start it on 8080.

Mon Mar 8, 2010    Reply    New Discussion   

I put in:

CODE

Listen 1234

I needed to get past Mr. ISP and his mental issues. (firewall)

Tue Mar 9, 2010    Reply    New Discussion   

QUOTE (HannahI)

I put in:

CODE

Listen 1234

I needed to get past Mr. ISP and his mental issues. (firewall)
Link: view Post: 145482

The syntax is : Listen IP_address:port
I guess none of your ethernet adapter has the IP address 1234.
It should be at least
Listen 1.2.3.4:80
and it would fail because the adapter with address 1.2.3.4 would never listen.
Try "Listen 127.0.0.1:80
but this would work only from the local keybard and display (obviously localhost).
If you want to reach it from another computer, you should put "Listen real_ip:80"
and of course no blocking firewall between your browser and the Apache server.
And, of course, after changing the httpd.conf file, you should "apachectl stop" followed by "apachectl start" in order to take into account the new configuration.

Tue Mar 9, 2010    Reply    New Discussion   

Tried it all, no use going to ***.***.*.*:1234.

Tue Mar 9, 2010    Reply    New Discussion   

Quickly Post to Apache Down http://localhost/ doesn't work. w/o signup Share Info about Apache Down http://localhost/ doesn't work. using Facebook, Twitter etc. email your friend about Apache Down http://localhost/ doesn't work. Print
Reply / Comment Ask a Question? Share / Bookmark E-Mail a Friend Print

Boost Up Firefox   Boost Up Firefox (3) (2) Wamp Server Problem [solved]   Wamp Server Problem [solved]