Consul Connect healthchecks keep failing after moving agent to new router

I moved a node which acts as Consul agent only to a new network/router. However, now all Consul Connect Sidecar healthchecks seem to be failing with errors that look like

dial tcp [fe80::b059:e3dc:b485:c2fc]:27955: connect: invalid argument

I suspect it’s trying to use some sort of IPv6 interface that’s now present but I’m not sure how to fix this to only use IPv4. Any pointers?

Fixed this by binding to a non-IPv6 address

client_addr = "{{ GetAllInterfaces | exclude \"type\" \"ipv6\" | join \"address\" \" \" }}"