Ports and Firewall rules
Ports and protocols
The following table shows the protocols and internal ports used:
Service | Port | Transport | Source | Destination |
---|---|---|---|---|
Influx API | 8086 | TCP | Client PC | Influx server |
Influx API | 8086 | TCP | Agents | Influx server |
Kapacitor | 9092 | TCP | Agents | Influx server |
HTTP | 80 | TCP | Client PC | Influx server |
HTTPS | 443 | TCP | Client PC | Influx server |
If required to collect from additional sources:
Service | Port | Transport | Source | Destination |
---|---|---|---|---|
Collectd | 25826 | UPD | Agents | Influx server |
Graphite | 2003 | TCP | Agents | Influx server |
Linux firewall rules
If the daemon "firewalld" is active, you need to configure the following rules and reload the firewall configuration:
sudo firewall-cmd --zone=public --permanent --add-port=8086/tcp
sudo firewall-cmd --zone=public --permanent --add-port=25826/udp
sudo firewall-cmd --zone=public --permanent --add-port=2003/tcp
sudo firewall-cmd --zone=public --permanent --add-port=9092/tcp
sudo firewall-cmd --zone=public --permanent --add-service=http
sudo firewall-cmd --zone=public --permanent --add-service=https
sudo firewall-cmd --reload