Apache - Firefox can't establish a connection to the server at localhost

Im not able to access my localhost server by firefox. Im using apache, and ive tried to run the following commands

$ service apache2 status * apache2 is running
$ sudo service apache2 restart * Restarting web server apache2 [ OK ]
$ sudo netstat -nlp | grep apache
tcp6 0 0 :::81 :::* LISTEN
2658/apache2 

any help?

firefox displays this error 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."
2 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like