Port 5671: AMQP over TLS

Port 5671 (TCP) is used by AMQP over TLS. Encrypted AMQP messaging.

5671Port
TCPProtocol
amqpsIANA service name
DevOps & 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)

Other devops & dev servers ports

Frequently asked questions

What is port 5671 used for?
AMQP over TLS. Encrypted AMQP messaging.
Is port 5671 TCP or UDP?
TCP.