Monday, February 6, 2017

Accessing localhost Rails application with other machine or device with in same network

In the recent version of Rails, we could not able check with the system ip

ie:- 192.168.222.34:3000

we could able to get the application page.

To solve this,  start server by
     rails s -b 0.0.0.0


This will bind the rails server to listen with system ip



Hope it will help few folks!

Enjoy!!!

No comments:

Post a Comment