I want to run my rails server from my mobile phone

Posted by Ife Odugbesan

over 1 year ago

0

network mobile rails

In your terminal run:

rails s -b 0.0.0.0
Then find your IP address in the network/WiFi settings of your PC/Laptop.

On your mobile phone type in your PC/Laptops's IP address followed by :3000 for example:

123.456.78.9:3000 
and voila!