Merge pull request #4819 from hashicorp/backport/jbrandhorst-use-localhost-client-agent-address/possibly-assuring-adder

This pull request was automerged via backport-assistant
pull/4820/head
hc-github-team-secure-boundary 2 years ago committed by GitHub
commit e41b6b47d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -68,5 +68,5 @@ func (c *ClientAgentCommand) Run(args []string) int {
// clientAgentUrl constructs the full URL for a client agent request given a port and path.
func clientAgentUrl(port uint, path string) string {
return fmt.Sprintf("http://127.0.0.1:%d/%s", port, path)
return fmt.Sprintf("http://localhost:%d/%s", port, path)
}

Loading…
Cancel
Save