I have a Hashicorp Vault server running on an AWS EC2 instance at 127.0.0.1:8200.
In my Security Group's inbound rules, I have TCP 8200 enabled. But, I can't access Vault server from my local machine. I think it's because dev server is only available from inside EC2 instance (because it's running at 120.0.0.1, am I right?).
Is it possible to run Vault dev server at 0.0.0.0 instead, so I can access it from Internet?
Start your Vault server with the following command:
vault server -dev -dev-listen-address="0.0.0.0:8200"
You can also specify the address via the VAULT_DEV_LISTEN_ADDRESS
environment variable.
Documentation here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With