ruby-on-railswebrick

Access webrick/rails from another computer on local network


I have a rails application running on localhost:3000. I wish to access it from another computer on the same network. I feel like i've done this before with ease, but it's giving me some grief. I can ping the IP of the computer just fine, but hitting ip:3000 in the browser doesnt work. I tried launching rails s -b ipaddress as well, and no luck.

Suggestions?


Solution

  • Try running the server on port 80 instead, your firewall is probably blocking port 3000.