5060Port
TCP/UDPProtocol
sipIANA service nameVoice & mediaCategory
Port range
5060 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.
Security
Only open port 5060 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.
Open port 5060 in a firewall
ufw sudo ufw allow 5060/tcp
sudo ufw allow 5060/udp
iptables sudo iptables -A INPUT -p tcp --dport 5060 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 5060 -j ACCEPT
firewalld sudo firewall-cmd --permanent --add-port=5060/tcp
sudo firewall-cmd --permanent --add-port=5060/udp
Windows New-NetFirewallRule -DisplayName "SIP 5060" -Direction Inbound -Protocol TCP -LocalPort 5060 -Action Allow
Check if port 5060 is open
nc -vz example.com 5060 Test-NetConnection example.com -Port 5060 # PowerShell sudo ss -tulpn | grep ':5060 ' # what is listening locally (Linux)