Uninett / zino

Zino 2.0 - Network state monitor for research networks
Apache License 2.0
3 stars 4 forks source link

Zino API should not listen to just 127.0.0.1 #225

Closed lunkwill42 closed 16 hours ago

lunkwill42 commented 1 month ago

This is a left-over thing from alpha development and should fixed in time for the next release. Currently, the API is hardcoded to listen only to the 127.0.0.1, the IPv4 loopback, which makes it unusable outside the server it is running on.

It should really listen to 0.0.0.0 by default (although IPv6 should also be supported). A command line option should be added to force the daemon to use another address (for testing and development, you might want to force it to use just 127.0.0.1 as it currently does).

runborg commented 3 weeks ago

What about making this api socket binding also configurable in config file ?

lunkwill42 commented 1 day ago

What about making this api socket binding also configurable in config file ?

Yes, when the config file stuff is merged, definitely.