Access to a remote rail checking server

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 that I can do to access it remotely without doing a fancy deployment?

+4
source share
2 answers

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

 script/server -b 192.168.1.10 
+12
source

to try:

 bin/rails s -b <YOUR_IP> 
0
source

All Articles