Is it possible to start Vault dev server on 0.0.0.0 instead of 127.0.0.1?
Clash Royale CLAN TAG#URR8PPP
Is it possible to start Vault dev server on 0.0.0.0 instead of 127.0.0.1?
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?
1 Answer
1
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.
VAULT_DEV_LISTEN_ADDRESS
Documentation here
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Wow great, I didn't see that option. Thank you!
– Héctor
Aug 6 at 6:51