Port 514: Syslog

Port 514 (UDP) is used by Syslog. Classic system log messages over UDP. Secure syslog over TLS uses 6514.

514Port
UDPProtocol
syslogIANA service name
Network infrastructureCategory

Port range

514 is a well-known (system) port (range 0–1023). On Linux and macOS, binding to it traditionally needs root or the CAP_NET_BIND_SERVICE capability.

Security

Only open port 514 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 514 in a firewall

ufw         sudo ufw allow 514/udp
iptables    sudo iptables -A INPUT -p udp --dport 514 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=514/udp
Windows     New-NetFirewallRule -DisplayName "Syslog 514" -Direction Inbound -Protocol UDP -LocalPort 514 -Action Allow

Check if port 514 is open

nc -vzu example.com 514   # UDP checks are unreliable: no reply ≠ closed
sudo ss -tulpn | grep ':514 '   # what is listening locally (Linux)

Other network infrastructure ports

Frequently asked questions

What is port 514 used for?
Syslog. Classic system log messages over UDP. Secure syslog over TLS uses 6514.
Is port 514 TCP or UDP?
UDP.