Port 5672 (RabbitMQ) — What It Is and How to Use It

Port 5672 is the standard default port for the Advanced Message Queuing Protocol (AMQP) 0-9-1 and 1.0, primarily used by RabbitMQ. It facilitates reliable and asynchronous communication between applications, acting as a message broker.

Last updated: 2026-06-11

RECOMMENDED

Gear Up: Mechanical Keyboards for Developers

Reduce fatigue and type faster with premium mechanical keyboards. Check out top picks for software engineers.

Shop Developer Gear →
Port Number 5672
Protocol RabbitMQ

Common Use Cases

  • Inter-service communication in microservices architectures
  • Asynchronous task processing and queuing
  • Real-time data streaming and event-driven architectures

Interactive Command Builder

nc -zv example.com 5672

Check if Port 5672 is Open

sudo netstat -tulnp | grep 5672 || sudo ss -tulnp | grep 5672
netstat -ano | findstr :5672
⚠️ Security Note: Exposing port 5672 directly to the internet without proper authentication and encryption (e.g., TLS) is highly risky. Unauthorized access could lead to message interception, manipulation, or denial of service.

Related Ports

Frequently Asked Questions

Is port 5672 dangerous to leave open?

Yes, leaving port 5672 open to the internet without robust security measures (like strong authentication, TLS encryption, and firewall rules restricting access to trusted IPs) is dangerous. It can expose your message queue to unauthorized access, data breaches, and service disruption.

What service uses port 5672?

Port 5672 is primarily used by RabbitMQ, an open-source message broker, for the Advanced Message Queuing Protocol (AMQP). Other AMQP-compliant message brokers might also use this port.