clem
clem

Reputation: 3534

Rails Dev Server not visible on network

Trying to do something very basic and test my Rails app on my phone.

Starting the server with:

rails s

But when accessing mymachinename.local:3000, Mobile Safari says that the server stopped responding after about 30 seconds.

I do this all the time on other machines, but I have no idea what could be causing it here. Any suggestions?

Upvotes: 0

Views: 454

Answers (2)

clem
clem

Reputation: 3534

Whoops. Firewall. Don't know why I even had it turned on.

Upvotes: 2

Justin
Justin

Reputation: 1203

I've had a similar issue before trying to access the server from a virtual machine, I had to use the following format for the rails server command: rails s -b your.dev.ip.address

Upvotes: 4

Related Questions