Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
1- I can't open locaolhost on my laptop
2- updating Apache2.2

plz help me

What I have tried:

i open http://localhost
but not open
Posted
Updated 28-Feb-17 0:37am
Comments
Graeme_Grant 26-Feb-17 0:35am    
Have you checked that the update apache software is running? Is the apache software correctly configured? IS the apache software correctly hosting a web app/site? What do you see when you point at localhost?

These are all basic troubleshooting steps...

At first check if the apache server is running.

With Linux use for example
sudo ps aux | grep apache

With Windows and when Apache is running as service you can use
net start

at a command prompt to list the running services. When Apache has been started as command line application use the task manager. Note also that the Apache command line mode requires Administrator privileges with enabled UAC (since Vista).

When Apache is not running check the log files (error_log at /var/log/apache2 with Linux and error.log with Windows. The default is the logs directory of the Apache program folder).

When it is not running and there are no entries in the log files, check how Apache is started on your system and if that is executed. This depends again on the OS and the mode (Windows service or command line).
 
Share this answer
 
before i used it and worked correctly but now display this message

Unable to connect


Firefox can’t establish a connection to the server at localhost.

    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer’s network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
 
Share this answer
 
Comments
Richard Deeming 28-Feb-17 9:40am    
If you want to update your question, click the green "Improve question" link at the bottom of the question.

DO NOT post your update as a "solution".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900