On Sep 5, 5:34 pm, Prasanna Perera <[email protected]>
wrote:
> Hello,
>
> I am new to developing in Rails.  I created a rails project using 'rails
> mydiary'. Used 'ruby script/generate scaffold Entry title:string
> content:text' to generate scaffolding for the entry table.  Did 'rake
> db:migrate' to create the entry table.  Then ran 'ruby script/server'.
> All of this worked. I get the message 'Rails 2.3.3 application starting
> onhttp://0.0.0.0:3000'.
>
> But when I go to 'http://0.0.0.0:3000'on FireFox I get a 'can't
> establish connection to server' error.  I tried IE but this did not also
> work.
>
0.0.0.0 is not a valid ip address. When mongrel etc says it is
listening on 0.0.0.0 that is merely shorthand for 'i am listening on
all the ip addresses that this machine has'. Pick anyone of those (eg
127.0.0.1) and you should be ok.

Fred

> I looked at the 'server.log' file under the 'log' folder.  This file is
> blank.
>
> Any ideas on what I can try?
>
> Thanks,
> Prasanna
> --
> Posted viahttp://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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to