Consul connect envoy -bind-address

Hi there

A command line option below can be passed to consul connect envoy

-bind-address=<<name>=<ip>:<port>>

but for the life of me I can’t seem to get this to work.

consul connect envoy -sidecar-for failover-c614d0df -bind-address=name=172.17.0.4:49338 -address=10.0.4.170 -admin-bind=127.0.0.1:19001 -- --log-level trace 

I’m not sure what the format should be and what value should be as this is not clear in the Consul documentation.

Any ideas?

Hi @James78

If you look at the documentation, -bind-address is a gateway-only (Ingress, Terminating, Mesh) option and you won’t be able to use it for sidecars.

Also, -admin-bind defaults to port 19000 on loopback so you can avoid that from the command as well.

What are you trying to do by using -bind-address in your scenario?