Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing a rails test server remotely

Maybe I'm missing something simple here, but when I run "ruby script/server", I can access it through localhost, but not remotely. Is there something simple I can do to access it remotely without doing some fancy deployment?

like image 754
swampsjohn Avatar asked Dec 18 '22 03:12

swampsjohn


1 Answers

You can pass -b option which can bind to an IP address. Suppose your test server IP address is 192.168.1.10

script/server -b 192.168.1.10
like image 66
Chandra Patni Avatar answered Jan 01 '23 23:01

Chandra Patni