1 Introduction
zabbix-server default port number is 10051. If a conflict exists port number, you need to change the port number.
The following is the procedure to change the port number.
2, change the configuration file
Usually with the installation package, which is then deployed yum, its default configuration file is / etc / zabbix.
vim /etc/zabbix/zabbix_server.conf
### Option: ListenPort
# Listen port for trapper.
#
# Mandatory: no
# Range: 1024-32767
# Default:
ListenPort=10052
10051 change the default port number for the other, I set 10052.
3, change the page configuration
Page configuration files in / etc / zabbix / web
vim /etc/zabbix/web/zabbix.conf.php
The $ ZBX_SERVER_PORT = '10052'; change set port number.
4, restart zabbix-server
service zabbix-server restart 或者systemctl restart zabbix-server
Article Source:
Operation and maintenance Guild: Modify the port number zabbix