Skip to content

Bind to 0.0.0.0 instead of 127.0.0.1 #1522

Description

@leebrooks0

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions