views:

24

answers:

1

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?

+2  A: 

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
Chandra Patni
Perfect, thanks
swampsjohn