You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to run my Padrino app from a tablet via a wi-fi network and I could not connect. I asked here http://unix.stackexchange.com/questions/105164/connecting-to-localhost-via-system-ip-address and they said that to bind port 3000 (or any other...) to all IPs you need to use an IP of 0.0.0.0. In my question on the Unix forum I never stated that I was using Thin with Padrino, and Padrino always seems to bind to 127.0.0.1.
a) What is the difference between thin start and padrino start (or passenger start and padrino start etc etc.)?
b) Can I get padrino to bind to 0.0.0.0?
The text was updated successfully, but these errors were encountered:
a) thin and passenger are full-blown web servers, padrino start is built-in padrino script which loads an app and uses Rack::Server to serve with it.
b) use padrino start -h 0.0.0.0 if you want temporary development run, configure something bigger to run long-term development or production.
I was trying to run my Padrino app from a tablet via a wi-fi network and I could not connect. I asked here http://unix.stackexchange.com/questions/105164/connecting-to-localhost-via-system-ip-address and they said that to bind port
3000
(or any other...) to all IPs you need to use an IP of0.0.0.0
. In my question on the Unix forum I never stated that I was using Thin with Padrino, and Padrino always seems to bind to127.0.0.1
.a) What is the difference between
thin start
andpadrino start
(orpassenger start
andpadrino start
etc etc.)?b) Can I get padrino to bind to
0.0.0.0
?The text was updated successfully, but these errors were encountered: