开发者

Localhost just stopped working

开发者 https://www.devze.com 2023-04-12 11:57 出处:网络
I use xampp as hosting server software. Everything been worked since I installed the software for the first time I also updated xampp regular when there was a better version.

I use xampp as hosting server software.

Everything been worked since I installed the software for the first time I also updated xampp regular when there was a better version.

But three days ago so it was a power cut at night and when I started up my computer the day after, I can not access my localhost neither 127.0.0.1 or http://localhost/ also tested with my http://192.168.0.101/ but neither one of them allows me to access my localhost.

I've looked through some forums where a similar issue come up and have tested some solutions that have worked for others.

My hosts file loo开发者_如何学编程ks like it should do, so have no ideas on what could be the cause of this problem.

Would be really grateful if someone could solve it for me or give me some sort of advice on a solution.

Thanks for your time. Yours Daniel


Server may have stopped and you may need to start it manually:

http://www.apachefriends.org/en/xampp-windows.html#1173

http://www.apachefriends.org/en/xampp-linux.html#378


Check the apache service is running properly or not if apache service is running still it is not working then change the service port of apache from 80 to some other port. Then restart the apache and in browser open http://localhost:[port] In port specify the port no which you have change changed in apache configuration file.

Also check the entry in c:\windows\system32\etc\hosts

This is how you can solve your problems. If still problem persist then post in detail here only as answer. and also specify your working platform.


it might be that Apache and mySQL stop. (in xampp) to see if that's why,In the directory on the computer where XAMPP is installed, click the file:xampp-control.exe And click Start: Apache and mySQL. enter image description here

0

精彩评论

暂无评论...
验证码 换一张
取 消