Codepolice

Random posts from Ola in English. Mainly about programming and the web.

Slow IIS on Vista with Firefox, Chrome or Safari

Ever noticed that sites are way slower in Firefox / Safari / Chrome and so on when you try to debug a website localhost on Vista.  Apperently there is some kind of DNS bug caused by IPv6. To fix it in Firefox you can type about:config and look up network.dns.disableIPv6 but this doesn’t fix the issues for other browser.

To fix it system-wide for all browsers edit your hosts file. You find it in %SystemRoot%System32driversetc.

127.0.0.1       localhost
::1             localhost <- Comment this line
127.0.0.1       .host

Thanks to commenter in this post for this.

4 Comments

  1. MK says:

    Many many thanks, the system-wide solution fixed it for my Chrome.

  2. Julio says:

    Thanks a lot!

    That was just the solution I needed!

  3. Wagner Danda says:

    Changing the hosts file the way you suggested did work. Here is what worked for me… uncomment this line in the hosts file:
    127.0.0.1 localhost

    More details on whit post:
    http://www.wagnerdanda.me/2009/12/asp-net-development-server-slow-on-windows-vista7-with-firefox-or-chrome/

  4. ecco boots says:

    In my view, in fact, doing so is right, very supportive of your point of view.
    Feel your article is very unique, great, reading your article is a pleasure.

Leave a Reply