On *nix systems, the file /etc/hosts contains the mapping from localhost to 
127.0.0.1.  It should contain a line like:

127.0.0.1               localhost.localdomain localhost

I do not know whether or not Mac uses the same file.

On Tuesday, October 14, 2014 10:05:13 PM UTC-4, mike...@comcast.net wrote:
>
> The hard drive on my Macbook recently failed.  A local shop replaced it 
> and restored data from the failing drive.  Thereafter, I couldn't start the 
> the rails server on rails apps that previously had worked as expected.  I 
> subsequently rebuilt rails 2.1.3 under rvm.  Now, rails -s starts WEBrick 
> successfully, but I can only connect on 0.0.0.0:3000 rather than on 
> localhost:3000 as I from rails apps that allowed it just a couple of days 
> ago.  I added the tzinfo-data gem as suggested on some related posts, but 
> still no joy.  I'm running rails 4.1.6 on ruby 2.1.3p242 under 0SX 10.9.5. 
>  Can anyone suggest how I might proceed from here?
>
> Regards,
>
> Mike
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/3411abd3-10ae-4ac9-864e-2b33cf7ab754%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to