Good morning. I'm trying to spin up a simple vault server to play with. ( not in dev mode )
It seems that no matter what I put in the config, vault will only bind to local host to listen. I have a need to access via http or https from other servers. There must be something simple that I am missing. I've even tried binding specifically to the eth0 address, but it still binds to loopback. Could anyone point out what I may be missing? Thank You.
Simple config:
listener "tcp" {
tls_disable = 1
}
storage file {
path = "/scratch/vault/data"
}
disable_mlock = true
disable_sealwrap = true
Output from start. Shows listening to loopback:
==> Vault server configuration:
Cgo: disabled
Listener 1: tcp (addr: "
127.0.0.1:8200", cluster address: "
127.0.0.1:8201", max_request_duration: "1m30s", max_request_size: "33554432", tls: "disabled")
Log Level: info
Mlock: supported: true, enabled: false
Storage: file
Version: Vault v1.0.3
Version Sha: 85909e3373aa743c34a6a0ab59131f61fd9e8e43
==> Vault server started! Log data will stream in below:
Netstat output: Only listening to loopback
[kwwyric@nc2dlkwtst01 vault]$ netstat -an | grep -i 820