Consul - "No private IPv4 address found" error

“ubuntu 20.04”
Hello, I am trying to start Consul service with this command:

/usr/bin/consul agent -server -ui -data-dir=/temp/consul -bootstrap-expect=1 -node=vault -bind= -config-dir=/etc/consul.d/

it gives ==> “No private IPv4 address found”

I also find a page regarding same issue but since I am starter level at linux. I couldnt apply solution.

Can you please tell me what to do?

Thank you.

Hi @beratuslu you need to provide -bind with the actual public IP address value. is not a routable address so it will default to the local interfaces and other network interfaces available, but in this case non of the network interfaces expose a private IP.