873Port
TCPProtocol
rsyncIANA service nameFile transferCategory
Port range
873 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 873 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.
Open port 873 in a firewall
ufw sudo ufw allow 873/tcp iptables sudo iptables -A INPUT -p tcp --dport 873 -j ACCEPT firewalld sudo firewall-cmd --permanent --add-port=873/tcp Windows New-NetFirewallRule -DisplayName "rsync 873" -Direction Inbound -Protocol TCP -LocalPort 873 -Action Allow
Check if port 873 is open
nc -vz example.com 873 Test-NetConnection example.com -Port 873 # PowerShell sudo ss -tulpn | grep ':873 ' # what is listening locally (Linux)