Add a "host" option to openfisca-serve #634
Labels
kind:feat
A feature request, a feature deprecation
level:starter
Suited for beginners and new contributors
scope:developer-experience
Imported from openfisca/openfisca-web-api#132 by @Morendil.
When using the
openfisca serve
script, I can specify a port but not a host to bind to; the script defaults tolocalhost
which is appropriate only in a narrow range of conditions. It will for instance prevent usage from a Docker container, a throwaway virtual machine on a cloud provider, or that home NAS that you use as a server for tinkering with stuff.Possibly a better default is
0.0.0.0
, a pseudo-host which will result in the server socket binding on every available interface. Alternately, a config option--host
to overridelocalhost
is perfectly suitable.The text was updated successfully, but these errors were encountered: