Home / Port numbers / Port 5672
Port 5672: AMQP (RabbitMQ)
Message queue traffic between applications. Port 5672 uses TCP.
- Port
- 5672
- Commonly used for
- AMQP (RabbitMQ)
- Transport
- TCP
- Encrypted
- No (5671 is the TLS port)
- Range
- User (registered) port, 1024 to 49151
- Our advice
- Keep it closed to the internet
- IANA registration
amqpAMQP (TCP, UDP, SCTP)
Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.
What port 5672 is used for
Port 5672 is AMQP, a protocol for passing messages between parts of an application through a broker. RabbitMQ is the best-known broker that uses it. Port 5671 carries the same protocol over TLS.
Should port 5672 be open?
A broker sits in the middle of an application's internal traffic, and whoever can connect can read and inject messages. RabbitMQ's default guest account works only from the local machine for this reason. Keep the broker on a private network.
Related ports
- Port 15672 (RabbitMQ management): the RabbitMQ web management page and API
- Port 1883 (MQTT): messages between smart devices and their hub
- Port 9092 (Apache Kafka): Kafka event streaming brokers
See all port numbers for the full list and how ports, TCP and UDP work.