How to connect to Vault server

0 votes

I wanted to give a try to vault, so I configured VAULT_ADDR as:

$ echo $VAULT_ADDR

then I started vault in dev mode (vault server -dev) and everything was ok, I was able to connect to the server.

Then I wrote a really simple config file:

$ cat vault.config 

backend "inmem"

listener "tcp" {

  address = ""

  tls_disable = 1


disable_mlock = true

and I restarted the server with vault server -config=vault.config, but then when I connect to the server, I get:

$ vault status

Error checking seal status: Get dial tcp getsockopt: connection refused

Is there something wrong in my config file?

Jul 12, 2018 in DevOps Tools by Nilesh
• 7,020 points

1 answer to this question.

0 votes

You need to configure the back end like this:

backend "inmem" {}

otherwise there is a problem parsing the listener clause.

answered Jul 12, 2018 by Kalgi
• 2,680 points

Related Questions In DevOps Tools

0 votes
1 answer

How to deploy Liberty packaged server automatic delivery

Here is a concept regarding your query. It ...READ MORE

answered Jul 11, 2018 in DevOps Tools by Atul
• 10,240 points
0 votes
1 answer

How to connect log file as an input in Logstash?

Hi@akhtar, You can use the file plugin to ...READ MORE

answered Jun 17, 2020 in DevOps Tools by MD
• 95,240 points
0 votes
1 answer
0 votes
3 answers
+1 vote
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
0 votes
1 answer
0 votes
1 answer

How to bootstrap droplets using Terraform?

Using passwords on instances is an absolute ...READ MORE

answered Jul 12, 2018 in DevOps Tools by Kalgi
• 2,680 points