Port 5672: AMQP

Port 5672 is AMQP, the Advanced Message Queuing Protocol most commonly associated with RabbitMQ. Applications publish messages to queues and exchanges on this port so that other services can consume them asynchronously.

TCPMessage queuesUnencrypted by defaultIANA assigned
Port number5672
ServiceAdvanced Message Queuing Protocol
ProtocolTCP
CategoryMessage queues
Default encryptionNo
Security note. Port 5672 is not encrypted by default. Restrict it to trusted networks, or use an encrypted alternative where one exists, to avoid exposing credentials and data in transit.

Frequently asked questions

What is port 5672 used for?

Port 5672 is AMQP, the Advanced Message Queuing Protocol most commonly associated with RabbitMQ. Applications publish messages to queues and exchanges on this port so that other services can consume them asynchronously.

Is port 5672 TCP or UDP?

Port 5672 (AMQP) uses TCP.

Is port 5672 secure?

Port 5672 is not encrypted by default. Where possible, use an encrypted alternative or tunnel it over TLS or a VPN.

Should I open port 5672 on my firewall?

Only if you specifically need AMQP. Expose it to the smallest set of trusted sources, and never open database or Windows-service ports to the whole internet.