Jump to content
xisto Community
HannahI

Apache Down http://localhost/ doesnt work.

Recommended Posts

As said in the descripition, LOCALHOST/ will output the error: Safari can't open the page 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

Share this post


Link to post
Share on other sites

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".

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

I would say that, on your system, the apache httpd port is not 80Have 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.

Share this post


Link to post
Share on other sites

I put in:

Listen 1234
I needed to get past Mr. ISP and his mental issues. (firewall)
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.