We run Zabbix in native HA cluster in docker containers on 2 nodes. Each node has its own agent running in a separate container.
Agents set their server urls like this in docker-compose:
ZBX_SERVER_HOST=zabbix-server-01,10.76.0.120
where zabbix-server-01 is a server container on the same host, 10.76.0.120 is an IP of another HA node.
Agent on a passive node reports unavailable status with this logs:
failed to accept an incoming connection: connection from "10.176.0.120" rejected, allowed hosts: "zabbix-server-01,10.76.0.120"
What am I doing wrong?
Agents set their server urls like this in docker-compose:
ZBX_SERVER_HOST=zabbix-server-01,10.76.0.120
where zabbix-server-01 is a server container on the same host, 10.76.0.120 is an IP of another HA node.
Agent on a passive node reports unavailable status with this logs:
failed to accept an incoming connection: connection from "10.176.0.120" rejected, allowed hosts: "zabbix-server-01,10.76.0.120"
What am I doing wrong?

Comment