From 5f2a38e6b1cb5b81e5f090fadb83c07cd70eae8f Mon Sep 17 00:00:00 2001 From: yunhee-l Date: Wed, 2 Sep 2020 12:12:32 -0700 Subject: [PATCH] Revert "bind introspection to localhost" This reverts commit 899e233f05fdf8b1219d36e27815466079ddcc13. --- agent/handlers/introspection_server_setup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/handlers/introspection_server_setup.go b/agent/handlers/introspection_server_setup.go index bda910f7f1d..07f138a2237 100644 --- a/agent/handlers/introspection_server_setup.go +++ b/agent/handlers/introspection_server_setup.go @@ -56,7 +56,7 @@ func introspectionServerSetup(containerInstanceArn *string, taskEngine handlersu loggingServeMux.Handle("/", LoggingHandler{serverMux}) server := &http.Server{ - Addr: "127.0.0.1:" + strconv.Itoa(config.AgentIntrospectionPort), + Addr: ":" + strconv.Itoa(config.AgentIntrospectionPort), Handler: loggingServeMux, ReadTimeout: readTimeout, WriteTimeout: writeTimeout,