Tuesday, December 28, 2010

[Rails] Re: 127.0.0.1:3000 and localhost:3000

On Dec 28, 3:35 pm, Fernando Leandro <fernandoleandro1...@gmail.com>
wrote:
> Hello,
>
> Working with rails, i realized that when i use my application with
> localhost:3000, the application becomes much more slow than when i use it
> with 127.0.0.1:3000, for example... have anyone ever realized this too?
>

I think that in some setups localhost will resolve by default to an
ipv6 address (::1 or something like that), only falling back to
127.0.0.1 if that fails. In some cases it may take a while for the OS
to realise the connection to ::1 can't be made.

Fred

> Why this happens?
>
> Thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate