mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-29 06:31:10 +01:00
Change agent's port to 8007 (#6348)
This commit is contained in:
parent
6719ede26a
commit
c14e61c16e
2
command/agent/cache/listener.go
vendored
2
command/agent/cache/listener.go
vendored
@ -63,7 +63,7 @@ func tcpListener(config map[string]interface{}, _ io.Writer, ui cli.Ui) (net.Lis
|
|||||||
var addr string
|
var addr string
|
||||||
addrRaw, ok := config["address"]
|
addrRaw, ok := config["address"]
|
||||||
if !ok {
|
if !ok {
|
||||||
addr = "127.0.0.1:8100"
|
addr = "127.0.0.1:8007"
|
||||||
} else {
|
} else {
|
||||||
addr = addrRaw.(string)
|
addr = addrRaw.(string)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -159,7 +159,7 @@ cache {
|
|||||||
}
|
}
|
||||||
|
|
||||||
listener "tcp" {
|
listener "tcp" {
|
||||||
address = "127.0.0.1:8100"
|
address = "127.0.0.1:8007"
|
||||||
tls_disable = true
|
tls_disable = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -169,4 +169,4 @@ cache {
|
|||||||
|
|
||||||
Agent's listener address will be picked up by the CLI through the
|
Agent's listener address will be picked up by the CLI through the
|
||||||
`VAULT_AGENT_ADDR` environment variable. This should be a complete URL such as
|
`VAULT_AGENT_ADDR` environment variable. This should be a complete URL such as
|
||||||
"http://127.0.0.1:8100".
|
"http://127.0.0.1:8007".
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user