Port 5672 is the default AMQP 0-9-1 port used by RabbitMQ and other message brokers. AMQPS (AMQP over TLS) uses port 5671. AMQP is the protocol behind RabbitMQ queues, exchanges, and bindings. Port 5672 should only be accessible from application servers, not the public internet.
Port Number
5672
Protocol
TCP
Service
Advanced Message Queuing Protocol
Range
IANA Registered (1024–49151)
Check RabbitMQ node health, Erlang version, and listener ports
rabbitmqctl statusList active AMQP connections and their states
rabbitmqctl list_connections name stateRabbitMQ management API – overview stats (queues, messages, rates)
curl -u admin:pass http://localhost:15672/api/overviewDetect AMQP service and RabbitMQ version remotely
nmap -sV -p 5672 targetamqp://user:password@localhost:5672/vhost
rabbitmqctl list_queues -p / name messages
python -m pika connection_params host=localhost port=5672AMQP was designed by JPMorgan Chase in 2003 for reliable financial messaging. AMQP 0-9-1 (2008) became the de facto standard implemented by RabbitMQ. AMQP 1.0 (2012, OASIS standard) is a different wire protocol – RabbitMQ supports both via plugin. Port 5672 was registered with IANA for AMQP.
RabbitMQ vs Kafka – when to use which?
RabbitMQ (AMQP, port 5672): message routing, task queues, request-reply patterns, when you need flexible exchange-based routing and per-message acknowledgment. Kafka (port 9092): event streaming, log aggregation, replay capability, when you need high-throughput append-only logs with consumer groups reading at their own pace.
What is the management port 15672?
RabbitMQ's HTTP management API and web UI run on port 15672. It provides queue/exchange/binding management, connection monitoring, and message publishing for debugging. Enable with: rabbitmq-plugins enable rabbitmq_management. Restrict to admin networks.