diff --git a/server.go b/server.go index e04bb83..a4c29c2 100644 --- a/server.go +++ b/server.go @@ -96,7 +96,7 @@ func NewHTTPServerWithPort(serveMux *http.ServeMux, port int) *Server { if len(*tls) > 0 && port == 80 { port = 443 } - addr := fmt.Sprintf("0.0.0.0:%d", port) + addr := fmt.Sprintf(":%d", port) serveMux.HandleFunc(MakeHttpHandlerPattern("welcome"), welcomeHandler) serveMux.HandleFunc(MakeHttpHandlerPattern("lb_health_chceck"), healthCheckHandler)