Hi, I use the standard rails webrick server to run my web application on my local machine (I access it through http://localhost:3000 etc etc) but I was wondering if there was a way I can access it from the web, e.g. using my IP address...? Any ideas? Cheers, Mick -- 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 -~----------~----~----~----~------~----~------~--~---
You absolutely can, but ''How'' depends entirely on your setup. For me, I would setup NAT on my cable modem to route port 3000 to my machine and open that port on the machine''s firewall. Mick wrote:> Hi, > > I use the standard rails webrick server to run my web application on my > local machine (I access it through http://localhost:3000 etc etc) but I > was wondering if there was a way I can access it from the web, e.g. > using my IP address...? > > Any ideas? > > Cheers, Mick > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
As long as your router doesnt have the port blocked you should be able to access it using your isp provided ip address. Dont know what that is? Try going here http://www.dynip.com/main/ns/146/doc/69/lang/EN Also if you get tired of trying to remember your dynamic ip address from day to day you can pay Dynip 20 bucks and then you can access your app with whateveryouwant.dynip.com - Richard On Apr 5, 3:04 pm, Mick <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi, > > I use the standard rails webrick server to run my web application on my > local machine (I access it throughhttp://localhost:3000etc etc) but I > was wondering if there was a way I can access it from the web, e.g. > using my IP address...? > > Any ideas? > > Cheers, Mick > > -- > 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 -~----------~----~----~----~------~----~------~--~---
Richard Luther <richard.luther-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> As long as your router doesnt have the port blocked you should be able > to access it using your isp provided ip address.Not quite... If you''re using WEBrick for script/server, for instance, you need to run "script/server start -b 0.0.0.0" to tell it to bind to all IP addresses instead of 127.0.0.1.> Dont know what that is? Try going here http://www.dynip.com/main/ns/146/doc/69/lang/EN > Also if you get tired of trying to remember your dynamic ip address > from day to day you can pay Dynip 20 bucks and then you can access > your app with > whateveryouwant.dynip.com... or you can do the same thing for free with a .yi.org hostname at http://www.yi.org/ , or a .dyndns.org hostname at http://www.dyndns.org/, etc. :-) - Tyler --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
cheers guys! -- 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 -~----------~----~----~----~------~----~------~--~---
A free alternative to dynip is dyndns.com. There are programs you can download to keep your IP address up to date with the dns server too. On 05/04/07, Richard Luther <richard.luther-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > As long as your router doesnt have the port blocked you should be able > to access it using your isp provided ip address. > Dont know what that is? Try going here > http://www.dynip.com/main/ns/146/doc/69/lang/EN > Also if you get tired of trying to remember your dynamic ip address > from day to day you can pay Dynip 20 bucks and then you can access > your app with > whateveryouwant.dynip.com > - Richard > > > On Apr 5, 3:04 pm, Mick <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > Hi, > > > > I use the standard rails webrick server to run my web application on my > > local machine (I access it throughhttp://localhost:3000etc etc) but I > > was wondering if there was a way I can access it from the web, e.g. > > using my IP address...? > > > > Any ideas? > > > > Cheers, Mick > > > > -- > > 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 -~----------~----~----~----~------~----~------~--~---