Quick fix
Just change
http:
For
http:
IMO is much better than disabling IPv6 settings in Firefox, what if you want to use IPv6?
More permanent solution
If you want a slightly more permanent solution, you can edit the hosts file, usually C:\Windows\system32\drivers\etc\hosts on Windows, and add a rule for localhost:
127.0.0.1 localhost
Configure Firefox in particular
If you decide to disable IPv6 in Firefox itself, there are details: http://kb.mozillazine.org/Network.dns.disableIPv6
Edit: in fact, if you want to fix this in Firefox, and not completely disable IPv6, as in the link I just posted, or as pointed out by another answer to this question, give this the following: http: // theycallmemrjames. blogspot.com/2010/09/firefox-is-really-slow-testing-sites-on.html This shows how to set the rule for localhost to use only IPv4, so your browser can still use IPv6 as needed.
elwyn source share