December 11, 2025•3 min read

RabbitMQ uses several different ports for different purposes. Understanding these ports is essential for setting up your RabbitMQ instance correctly and ensuring proper network connectivity.
The most important port is 5672, which is the default port for AMQP (Advanced Message Queuing Protocol) connections. This is the port your application clients will use to connect to RabbitMQ to publish and consume messages.
Example connection string using the default port:
amqp://guest:guest@localhost:5672If you're using TLS/SSL for secure connections, the default port changes to 5671:
amqps://guest:guest@localhost:5671Port 15672 is used by tools like RabbitGUI and the built-in RabbitMQ management plugin. This port provides access to:
You can connect to your instance with RabbitGUI on this port:

RabbitGUI is a powerful RabbitMQ IDE that makes it easy to manage your RabbitMQ instances. It automatically handles the connection details and provides a much better interface than the default management UI.
You can also access the web-based management interface by navigating to:
http://localhost:15672For HTTPS connections, use port 15671 instead.
If you're running RabbitMQ in a cluster, you'll need to ensure these ports are accessible:
The inter-node communication port is typically 25672, but RabbitMQ actually uses a range of ports starting from this number. By default, it uses ports in the range 25672-25682.
You can customize RabbitMQ ports by modifying the rabbitmq.conf configuration file:
# AMQP port
listeners.tcp.default = 5672
# Management plugin port
management.tcp.port = 15672
# Inter-node communication
distribution.listener.port = 25672If you're running RabbitMQ in Docker, you can map the ports using the -p flag:
docker run -d --name rabbitmq \
-p 5672:5672 \
-p 15672:15672 \
rabbitmq:3-managementThis maps both the AMQP port (5672) and the management UI port (15672) to your host machine.
When deploying RabbitMQ in production, make sure to:
If you're having trouble connecting to RabbitMQ, check:
rabbitmqctl statusnetstat -an | grep 5672 or lsof -i :5672For the best RabbitMQ management experience with an intuitive interface and powerful features, try RabbitGUI, it connects using the management port (15672) and provides everything you need to work with RabbitMQ efficiently.
What Is RabbitMQ?Learn what RabbitMQ is, how it works, and why it’s used in modern software architectures. Discover RabbitMQ’s benefits, key components, use cases, and how it enables reliable asynchronous communication.
Setting up RabbitMQ with Docker and Docker ComposeA complete guide to running RabbitMQ in Docker containers, from quick start examples to advanced configuration options for production environments
RabbitMQ Javascript Cheat-SheetEverything you need to know to get started with RabbitMQ in NodeJs and Docker with code examples ready to go.Debug, monitor, and manage RabbitMQ with a modern developer interface.
Try now