Consul connect envoy -bind-address

Hi there

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


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= -address= -admin-bind= -- --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?