localhost hangs

Problems with the Windows version of XAMPP, questions, comments, and anything related.

localhost hangs

Postby gdansk » 14. May 2009 23:12


I've been having trouble accessing localhost - the browser just hangs. The same happens with

It *used* to work. I tried uninstalling and reinstalling xampp, but it still hangs. My firewall is turned off. I'm not using Skype. Does anyone else have this problem, and know how to fix it?

Posts: 3
Joined: 14. May 2009 23:10

Re: localhost hangs

Postby Sharley » 15. May 2009 07:58

Check also your Anti-virus scanner - temporarily disable and test again.

Check that apache and MySQL are running?
User avatar
AF Moderator
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: localhost hangs

Postby gdansk » 15. May 2009 10:41

Hi - thanks for your reply. I don't have any anti-virus software installed. Apache and MySQL are running. Any other ideas?
Posts: 3
Joined: 14. May 2009 23:10

Re: localhost hangs

Postby caltuna » 15. May 2009 15:34

I run the Mac version but my guess is that apache is trying to write to a log file which either it can't find or is not writeable. What happens if you try http://localhost/xampp/index.php or http://localhost/xampp/phpinfo.php.
Posts: 111
Joined: 05. May 2009 16:35

Re: localhost hangs

Postby imnotanerd » 17. May 2009 10:04


I am assuming you are using windows vista.

I have found documentation and the requirements are as follows:

go to C:\Windows\System32\drivers\etc
In it you will find a file named 'hosts'
open it in your text editor and insert '#' before this line - ::1 localhost
save it and clear your browser cache.

I have read reports of this working successfully but for some reason this does not work for me and it is really ****ing me off.

But you give it a shot. Maybe it will work for you
Posts: 1
Joined: 17. May 2009 09:55

Re: localhost hangs

Postby gdansk » 17. May 2009 11:48

caltuna: thanks a lot - that seems to have fixed it, though I don't understand how or why.

http://localhost/xampp/index.php didn't work, but http://localhost/xampp/phpinfo.php worked! And now localhost is working fine! I haven't done anything else, so I'm at a loss to explain how just pointing the browser at phpinfo.php could have fixed it, but many thanks anyway.
Posts: 3
Joined: 14. May 2009 23:10

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 81 guests