Skip to content

Commit

Permalink
bind introspection to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelkarp authored and yhlee-aws committed Aug 26, 2020
1 parent c1bdba7 commit 899e233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/handlers/introspection_server_setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func introspectionServerSetup(containerInstanceArn *string, taskEngine handlersu
loggingServeMux.Handle("/", LoggingHandler{serverMux})

server := &http.Server{
Addr: ":" + strconv.Itoa(config.AgentIntrospectionPort),
Addr: "127.0.0.1:" + strconv.Itoa(config.AgentIntrospectionPort),
Handler: loggingServeMux,
ReadTimeout: readTimeout,
WriteTimeout: writeTimeout,
Expand Down

0 comments on commit 899e233

Please sign in to comment.