--
Posted via http://www.ruby-forum.com/.
> Hi,
> After typing "rails server",
Please paste in what you see in Terminal after you typed this. You
might also see some sort of traffic log from the first try (the one
that was refused). Also, what does your /etc/hosts file look like? Do
you have the Firewall up? (not sure that matters on localhost, but
worth a try)
Walter
> I tried to go to http://localhost:3000, as
> well as http://0.0.0.0:3000, but I got an error message. In the first
> case, I get: Connection refused. For the second one, there was an
> error
> about no DNS entry?
> Help!
>
> --
> 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-
> ta...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
> .
>
=> Booting WEBrick
=> Rails 3.0.4 application starting in development on
http://0.0.0.0:3000
=> call with -d to detach
=> Ctrl-C to shutdown server
[2011-03-03 12:20:42] INFO WEBrick 1.3.1
[2011-03-03 12:20:42] INFO ruby 1.8.7 (2011-02-18) [i386-mingw32]
[2011-03-03 12:20:42] INFO WEBrick::HTTPServer#start: pid = 1604 port
=3000
> 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/.
>
Is there something in particular I should look for here? I get
/B - Forces monochrome mode
/H - Displays the maximum number of lines possible for your hardware
.
.
.
[2011-03-03 12:20:42] INFO ruby 1.8.7 (2011-02-18) [i386-mingw32]
Doesn't the last part of that line indicate Windows?
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan
On 3 Mar 2011, at 18:22, Gaba Luschi <li...@ruby-forum.com> wrote:
> So...how can I get http://localhost:3000 to display? Or connect to the
> host, given that it seems like when I type "rails server" i get the
> standard booting webrick messages...?
Did you check the windows firewall (or any other firewall you may have installed)? Worth tryin 127.0.0.1:3000 as well, I've occasionally had localhost resolve to an ipv6 address somehow
Fred
>
> --
> 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 rubyonra...@googlegroups.com.
I have windows. When I type in "edit /etc/hosts", I get
MS-DOS Editor
Version 2.0.026
Copyright (c) Microsoft Corp 1995
Is there something in particular I should look for here? I get
/B - Forces monochrome mode
/H - Displays the maximum number of lines possible for your hardware
127.0.0.1 localhost
That's what I get.
thanks!
That's what I get.
thanks!
Sent from my iPhone
Any other 3rd party firewall software ?
Mmh, how can I check?