On Wednesday, July 8, 2015 at 1:35:19 PM UTC+1, Colin Law wrote:
> On 8 July 2015 at 13:07, Padmahas Bn <padma...@gmail.com> wrote:
> > Hello all,
> >
> > Instead of hosting my rails app, if I run the rails app in one system using
> > rails s (default server), how can I access localhost:3000/ from another
> > system connected over Local Area Network (LAN) ?
> 
> It might well just work.  Assuming the ip address of the server is
> 192.168.1.nn then use 192.168.1.nn:3000
> 
> If not then what operating system are you using?
> 

As of rails 4.2 you also need to use the -b option to bind to the correct 
interface (the default is just localhost

Fred



> Colin
> 
> >
> > Thank you.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to rubyonrails-talk+unsubscr...@googlegroups.com.
> > To post to this group, send email to rubyonrails-talk@googlegroups.com.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/rubyonrails-talk/79ce0fc7-0172-4cdc-b04b-572d536e9c0b%40googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/9afa48c8-740a-481c-8a96-1aa9bf00c63a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to