views:

548

answers:

4

Hi there

I'm using firefox as my default browser for my basic webdev learning process and I wish to know why when I'm doing some file transfer as ftp or p2p, accessing localhost takes so much time, as I was accessing an http server from the other side of the world.

Any idea? Do you know how top fix it?

ps: I'm using WAMP on a Windows VISTA machine

+1  A: 

http://crazyviraj.blogspot.com/2009/09/fix-for-slow-firefoxchrome-connects-to.html

psychotik
+1 valid answer!
Sabeen Malik
A: 

Have a look at this article , it was a problem for me and after making the change made a huge improvement.Though i should note this mostly happened with the ASPNET server , not sure what you are using

RC1140
+1 valid answer!
Sabeen Malik
+5  A: 

type about:config in firefox address box .. continue to the settings

in the search that comes up put "network.dns.disableIPv6" .. and make sure it is set to "true"

this should solve your issue.

Sabeen Malik
vote down heh? care to say why?
Sabeen Malik
+2  A: 

To completely bypass localhost without altering any about:config properties you can install the addon Redirector and make a rule to redirect from localhost to 127.0.0.1. Use these settings

Include pattern : http://localhost*
Redirect to     : http://127.0.0.1$1

Leave the other fields empty.

westmark