Skip to content

Commit 27f47eb

Browse files
samuelkarpyhlee-aws
authored andcommitted
bind introspection to localhost
1 parent c6c4794 commit 27f47eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/handlers/introspection_server_setup.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func introspectionServerSetup(containerInstanceArn *string, taskEngine handlersu
5656
loggingServeMux.Handle("/", LoggingHandler{serverMux})
5757

5858
server := &http.Server{
59-
Addr: ":" + strconv.Itoa(config.AgentIntrospectionPort),
59+
Addr: "127.0.0.1:" + strconv.Itoa(config.AgentIntrospectionPort),
6060
Handler: loggingServeMux,
6161
ReadTimeout: readTimeout,
6262
WriteTimeout: writeTimeout,

0 commit comments

Comments
 (0)