I do my development on a Linux box. I''d like to test my code on a Windows box running IE - as that is what most of my users will have. The problem is that I can''t access the Webrick server on my Linux box from another computer on the network. It just can''t connect. I''m guessing that there is some configuration I''m missing - but I can''t find it. Can someone offer some help? Thanks in Advance ---Michael -- 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Michael Satterwhite wrote:> I do my development on a Linux box. I''d like to test my code on a > Windows box running IE - as that is what most of my users will have. The > problem is that I can''t access the Webrick server on my Linux box from > another computer on the network. It just can''t connect. > > I''m guessing that there is some configuration I''m missing - but I can''t > find it. Can someone offer some help? > > Thanks in Advance > ---Michael >Michael, I can think of two things to check (probably obvious, yet I thought I will mention them): a) Make sure you can ping the Linux box from the windows machine. Someimes one way works, but not the other way. b) Also make sure Webrick is using 0.0.0.0:3000 and not 127.0.0.1:3000 Cheers <k/> --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Krishna Sankar wrote:> Michael Satterwhite wrote: >> > > b) Also make sure Webrick is using 0.0.0.0:3000 and not > 127.0.0.1:3000This sounds promising. I''m not sure where the configuration for Webrick *IS*. I''ve even grepped for 3000 figuring that if there''s a configuration somewhere, it has to have the port in it. Where can I find / change the Webrick configuration? -- 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
dnstevenson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jul-24 01:41 UTC
Re: webrick across network
Try running the script/server command with -h That prints: Usage: server [options] -p, --port=port Runs Rails on the specified port. Default: 3000 -b, --binding=ip Binds Rails to the specified ip. Default: 0.0.0.0 -d, --daemon Make server run as a Daemon. -e, --environment=name Specifies the environment to run this server under (test/development/production). Default: development -h, --help Show this help message. Something you might want to check: set your binding IP, your Port, and make sure your Firewall rules will allow the incoming connection. Hope this helps - Dave http://www.stevensonsoftware.com - affordable VPS Hosting http://www.gotossh.com - web based SSH On Jul 20, 8:01 am, Michael Satterwhite <rails-mailing-l...@andreas- s.net> wrote:> Krishna Sankar wrote: > > Michael Satterwhite wrote: > > > b) Also make sure Webrick is using 0.0.0.0:3000 and not > > 127.0.0.1:3000 > > This sounds promising. I''m not sure where the configuration for Webrick > *IS*. I''ve even grepped for 3000 figuring that if there''s a > configuration somewhere, it has to have the port in it. > > Where can I find / change the Webrick configuration? > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---