Loading...


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, 12:36 pm
 
bookmark - Apache Down http://localhost/ doesn't work.  
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 New Discussion / Topic Share / Bookmark E-Mail a Friend Print

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         

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         

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         


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         

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         

I put in:

CODE

Listen 1234

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

   Mon Mar 8, 2010    Reply         


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         

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

   Tue Mar 9, 2010    Reply         

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 New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Similar Topics:

Need Help With Apache Configuration...

Hello I have some problem with my apache - I want to configure it to work, when I write in my browser 'http://localhost' I have LAN in my house and I set an adress 192.168.0.6, and when I want to use it, I have to write my IP, what is annoying :] Maby I have broke so ...more

   30-Jul-2005    Reply         

Want To Install Apache Mysql Php ...

Installing Apache Web Server on Windows XP This article deals with installing Apache Web Server on Windows XP. This guide is easy to follow, for everyone to make use of it and it will help you have your very own personal web server for local web designing and development. ...more

   01-Feb-2007    Reply         

Apache Subdomains Indexes And Mai...

Hi, on my other computer (not connected to the internet) I have an Apache server, just to test out PHP pages and stuff, I'd like to know how to do some stuff in it, like: Have subdomains, e.g. abc.localhost, do you modify something in the httpd.conf file? How do you edit DNS records? ...more

   27-Jun-2007    Reply         

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