From 19c4e8d482e7ceb22e0b84ee7a2e92bb3bf34521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Hurtado?= Date: Thu, 31 Oct 2019 14:53:06 +0100 Subject: [PATCH] Changed user server bind address to 0.0.0.0 to allow listen on a container --- internal/cmd/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/server.go b/internal/cmd/server.go index b7a02da..f176b91 100644 --- a/internal/cmd/server.go +++ b/internal/cmd/server.go @@ -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") }