Internet Explorer waiting for localhost forever

internet-explorer, localhost

Solution

I was having the same issue and found solution here http://forum.wampserver.com/read.php?2,116971,119284

Following settings in httpd.conf worked for me.

Add these lines:

#Fix IE crashing Apache
AcceptFilter http none
AcceptFilter https none

above this line:

Include "d:/wamp/alias/*"

Problem

When I try to open localhost in IE9 or IE10 on Windows7 (64bit) with Apache 2.2 it takes forever to resolve the URL. Other browsers have no problem and immediately resolve the URL, only IE shows the "Waiting for localhost" in browser tab while loading icon keeps animating forever. Sometimes stopping and refreshing works, but often not. Using 127.0.0.1 instead of localhost doesn't make any difference, nor does resetting all IE settings. In my hosts file I have: ``` # localhost name resolution is handled within DNS itself. # 127.0.0.1 localhost # ::1 localhost ``` Any idea what could be causing this problem?

Original source