Skip to content

Commit

Permalink
Profiling port should not bind to locahost (#3797)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdavidsmith authored Jul 18, 2024
1 parent a6cac13 commit d11718b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/common/profiling/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func setupPprofHttpServerWithAuth(port uint16, authFunc func(w http.ResponseWrit
}

return &http.Server{
Addr: fmt.Sprintf("localhost:%d", port),
Addr: fmt.Sprintf(":%d", port),
Handler: authInterceptor,
}
}
Expand Down

0 comments on commit d11718b

Please sign in to comment.