Changed user server bind address to 0.0.0.0 to allow listen on a container

This commit is contained in:
Héctor Hurtado
2019-10-31 14:53:06 +01:00
parent d5e9ab0f07
commit 19c4e8d482
+1 -1
View File
@@ -73,7 +73,7 @@ func init() {
ServerCmd.Flags().String("certfile", "", "Cert file to serve thru https")
ServerCmd.Flags().String("keyfile", "", "Key file to serve thru https")
ServerCmd.Flags().String("bind", "localhost:8080", "IP address and port to bind the user interface to")
ServerCmd.Flags().String("bind", "0.0.0.0:8080", "IP address and port to bind the user interface to")
ServerCmd.Flags().String("control-bind", "localhost:8081", "IP address and port to bind the control interface to")
ServerCmd.Flags().String("data-bind", "localhost:8082", "IP address and port to bind the data interface to")
}