We need to use different port on Zabbix server as it is behind Cloudflare and 10051 is not an option. We opened port 2087 and map it to 10051 in server's docker-compose.yaml:
Then on proxy side we changed environment variable for a port in proxy's docker-compose
but according to logs it still tries to connect using 10051.
144:20240201:112143.134 Unable to connect to [example.com]:10051 [cannot connect to [[example.com]:10051]: [4] Interrupted system call]
What should we change on proxy side to use custom port to communicate with a server?
Code:
ports: - 2087:10051
Code:
- ZBX_SERVER_HOST=example.com - ZBX_HOSTNAME=zabbix-proxy - ZBX_ACTIVE_ALLOW=true - ZBX_PROXYMODE=0 - ZBX_CONFIGFREQUENCY=120 - ZBX_SERVER_PORT=2087
144:20240201:112143.134 Unable to connect to [example.com]:10051 [cannot connect to [[example.com]:10051]: [4] Interrupted system call]
What should we change on proxy side to use custom port to communicate with a server?
Comment