On Wednesday, July 8, 2015 at 1:35:19 PM UTC+1, Colin Law wrote:
> On 8 July 2015 at 13:07, Padmahas Bn <
padm...@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