Re: Re: Problem connecting to localhost:3000

Walter Lee Davis
Thu, 03 Mar 2011 17:52:52 -0000

On Mar 3, 2011, at 12:22 PM, Gaba Luschi wrote:

> How do i check to see what my etc/hosts file look like?  It''s in a
> demo
> app, in views, with a basic index.html.  How do I check re: firewall?
> Thanks!

If you''re using a Mac, and TextMate, type mate /etc/hosts in your
Terminal. If you don''t have TextMate, you can use your favorite
command-line editor through the generic (alias) command edit, as in
edit /etc/hosts. Or nano /etc/hosts for that very easy-to-use editor.

Again, on the Mac, the firewall is configured in the System
Preferences app, in the Security section.

On other platforms, I can''t say for sure about either of these. On
anything Unix-like, edit /etc/hosts should get you **something**.

Walter

>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> .
> For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
> .
>