dpacmittal
April 17th, 2010, 12:57 PM
I've recently noticed that my localhost stops working when internet connection is disconnected. I use pon and poff to connect and disconnect my internet.
When I ping 127.0.0.1 or localhost, it is successful. However, http://localhost/ and http://127.0.0.1/ gives a Could not reach server error. I've tried restarting the apache and checked its config files for any errors.
I've also checked my /etc/hosts file but it is fine.
I don't know in which direction I should go further to resolve this issue. Any help would be appreciated.
EDIT: Apache/2.2.12 (Ubuntu)
Ubuntu 9.10 Karmic
Kernel: 2.6.31-20-generic
When I ping 127.0.0.1 or localhost, it is successful. However, http://localhost/ and http://127.0.0.1/ gives a Could not reach server error. I've tried restarting the apache and checked its config files for any errors.
I've also checked my /etc/hosts file but it is fine.
I don't know in which direction I should go further to resolve this issue. Any help would be appreciated.
EDIT: Apache/2.2.12 (Ubuntu)
Ubuntu 9.10 Karmic
Kernel: 2.6.31-20-generic