With pow
, I could access my app on another computer or phone on the same network at myapp.192.168.xx.xip.io
, and it worked just fine.
But since switching to Rails 5 and puma-dev
, it doesn't work. The browser gives me the error cannot open the page because the server can't be found.
If I refresh the page, then I get could not open the page because the server stopped responding.
If I go to myapp.192.168.xx.xip.io
instead of myapp.dev
on the machine running the server, it works, but it won't work on my phone on the same network.
This worked fine with pow
. What's different with puma-dev
?
EDIT:
netstat -an | grep LISTEN
gives:
tcp4 0 0 127.0.0.1.9253 *.* LISTEN
tcp4 0 0 *.80 *.* LISTEN
tcp4 0 0 *.443 *.* LISTEN
tcp4 0 0 127.0.0.1.5432 *.* LISTEN
tcp6 0 0 ::1.5432 *.* LISTEN
P.S. The tag puma-dev
hasn't been created yet, otherwise I would of used it.