Zabbix server port 10051 is blocked in firewall and need to use only 80 port
Solution 1:
Neither zabbix server, nor zabbix agent support listening on ports lower than 1024.
Official documentation for server and agent clearly states supported port range.
Server:
Parameter | Mandatory | Range | Default | Description |
---|---|---|---|---|
ListenPort | no | 1024-32767 | 10051 | Listen port for trapper. |
Agent:
Parameter | Mandatory | Range | Default | Description |
---|---|---|---|---|
ListenPort | no | 1024-32767 | 10050 | Agent will listen on this port for connections from the server. |
Also, ports lower than 1024 are priviliged, so normal users are not allowed to run servers on them.
Additionally, ports 80 and 443 are reserved for HTTP and HTTPS respectively. Zabbix agent uses it's own, JSON based protocol [source]. While technically possible, listening for two different protocols on same port causes a lot of issues.
Your best, and possibly only, solution is to open traffic on ports 10050 and 10051.