Hey folks, I''m just starting out learning Rails, so I picked up "Agile Web Development with Rails" and tried to get a demo server going. I entered the command C:\Sites\demo>rails server and got the following messages: => Booting WEBrick => Rails 3.0.7 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2011-05-06 17:57:30] INFO WEBrick 1.3.1 [2011-05-06 17:57:30] INFO ruby 1.8.7 (2011-02-18) [i386-mingw32] [2011-05-06 17:57:30] INFO WEBrick::HTTPServer#start: pid=5756 port=3000 However, when I try to go to http://0.0.0.0:3000 in a browser, I get a "unable to load" error. What a let down. I shut off my firewall and disable the Hosts manager, but I really have no idea what I''m doing. I tried in Firefox and IE, am running XP SP3. Any advice, or additional information I could give that would be helpful? Thanks a ton, Jay -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On May 6, 11:14 pm, Jay <jonathan.stri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hey folks, > > I''m just starting out learning Rails, so I picked up "Agile Web > Development with Rails" and tried to get a demo server going. I > entered the command C:\Sites\demo>rails server and got the > following messages: > > => Booting WEBrick > => Rails 3.0.7 application starting in development onhttp://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > [2011-05-06 17:57:30] INFO WEBrick 1.3.1 > [2011-05-06 17:57:30] INFO ruby 1.8.7 (2011-02-18) [i386-mingw32] > [2011-05-06 17:57:30] INFO WEBrick::HTTPServer#start: pid=5756 > port=3000 > > However, when I try to go tohttp://0.0.0.0:3000in a browser, I get a > "unable to load" error. What a let down. I shut off my firewall and > disable the Hosts manager, but I really have no idea what I''m doing. > I tried in Firefox and IE, am running XP SP3. Any advice, or > additional information I could give that would be helpful? >0.0.0.0 isn''t a valid address - it''s short hand for "I''m listening on all ip addresses this machine has". You should be able to connection to 127.0.0.1:3000 Fred> Thanks a ton, > > Jay-- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
The output: => Rails 3.0.7 application starting in development on http://0.0.0.0:3000 means that your application server is listening on any address your computer might have. To connect to a network service on your own machine you usually use the 127.0.0.1 as Fred already mentioned. But this IP-Address only works on you local machine. Jens On Samstag, 7. Mai 2011 at 08:56, Frederick Cheung wrote:> > > On May 6, 11:14 pm, Jay <jonathan.stri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hey folks, > > > > I''m just starting out learning Rails, so I picked up "Agile Web > > Development with Rails" and tried to get a demo server going. I > > entered the command C:\Sites\demo>rails server and got the > > following messages: > > > > => Booting WEBrick > > => Rails 3.0.7 application starting in development onhttp://0.0.0.0:3000 > > => Call with -d to detach > > => Ctrl-C to shutdown server > > [2011-05-06 17:57:30] INFO WEBrick 1.3.1 > > [2011-05-06 17:57:30] INFO ruby 1.8.7 (2011-02-18) [i386-mingw32] > > [2011-05-06 17:57:30] INFO WEBrick::HTTPServer#start: pid=5756 > > port=3000 > > > > However, when I try to go tohttp://0.0.0.0:3000in a browser, I get a > > "unable to load" error. What a let down. I shut off my firewall and > > disable the Hosts manager, but I really have no idea what I''m doing. > > I tried in Firefox and IE, am running XP SP3. Any advice, or > > additional information I could give that would be helpful? > > 0.0.0.0 isn''t a valid address - it''s short hand for "I''m listening on > all ip addresses this machine has". You should be able to connection > to 127.0.0.1:3000 > > Fred > > Thanks a ton, > > > > Jay > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.