I want to know if I can launch a Rails server (Puma or otherwise) with options that will allow it to be hit over any IP address (127.0.0.1, localhost, network IP address, etc).
I think -b
option only takes one IP address (not a wildcard or anything), and I have to restart it changing that option to allow connections over various IP addresses.
rails s -b 127.0.0.1 -p 3000
I would like to hit my server via both a browser on my machine and a browser on my iPhone on my network, and possibly a browser in a VM on my machine.
Aucun commentaire:
Enregistrer un commentaire