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