up vote 13 down vote favorite
5
share [g+] share [fb]

For some reason Google Chrome is slow when I'm working against localhost. I had the same problem in Firefox 3.5 but I changed some IPv6 setting in about:config which fixed the issue. I think the same problem occurs in Google Chrome, but I can't find out how to fix it.

Any ideas?

link|improve this question
3  
I voted to migrate this question - I think you will get much better answers at superuser.com. – Andrew Hare Sep 19 '09 at 15:49
feedback

migrated from stackoverflow.com Sep 19 '09 at 16:15

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 21 down vote accepted

Just an idea : do you have a line that looks like this :

::1 localhost

in your hosts (it should be somewhere like C:\WINDOWS\system32\drivers\etc\hosts, if I remember correctly) file ?

If yes, comment that line by adding a # at the beginning.

This way, the only line that's about localhost should be

127.0.0.1    localhost

which is IPv4.

It might help, if your problem is really caused by IPv6.

link|improve this answer
Thanks a million! – blahblah Sep 19 '09 at 15:55
You're welcome :-) Was just a wild guess, but nice to seen it worked ! (might be useful one day on another, actually ! ) – Pascal MARTIN Sep 19 '09 at 15:56
@blahblah - You should mark Pascal's answer as "accepted". @Pascal - thanks so much for this fix, this was really slowing me down as I was testing sites locally in Chrome. – Herb Caudill Sep 28 '09 at 12:49
works great... thanks. – user15681 Oct 27 '09 at 17:49
4  
This makes a huge difference. Both lines were commented out for me in Windows 7, so I uncommented the IPv4 line and everything works great now. – Ben Mills Feb 1 '10 at 16:27
show 3 more comments
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.