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