Message Broker Ports: Kafka (9092), RabbitMQ (5672), MQTT (1883)
Port reference for message brokers and streaming platforms. Apache Kafka 9092, RabbitMQ 5672/15672, MQTT 1883, NATS 4222, and ZooKeeper 2181.
Detailed Explanation
Message Broker and Streaming Ports
Message brokers enable asynchronous communication between services in distributed systems.
Apache Kafka
| Port | Service |
|---|---|
| 9092 | Kafka broker (client connections) |
| 9093 | Kafka broker (SSL/TLS) |
| 2181 | ZooKeeper (required for older Kafka versions) |
Kafka is a distributed streaming platform used for real-time data pipelines. Since Kafka 2.8+, KRaft mode eliminates the ZooKeeper dependency.
RabbitMQ
| Port | Service |
|---|---|
| 5672 | AMQP protocol (unencrypted) |
| 5671 | AMQP with TLS |
| 15672 | Management UI and HTTP API |
| 15692 | Prometheus metrics endpoint |
| 4369 | EPMD (Erlang Port Mapper Daemon) |
| 25672 | Inter-node communication |
MQTT
| Port | Service |
|---|---|
| 1883 | MQTT (unencrypted) |
| 8883 | MQTT with TLS |
| 8083 | MQTT over WebSocket |
MQTT is the standard messaging protocol for IoT devices. Its lightweight design makes it ideal for constrained devices and low-bandwidth networks.
NATS
| Port | Service |
|---|---|
| 4222 | NATS client connections |
| 6222 | NATS cluster routing |
| 8222 | NATS HTTP monitoring |
Security Recommendations
- Always use TLS-enabled ports in production
- Restrict management interfaces (15672, 8222) to internal networks
- Use SASL authentication for Kafka connections
- Enable access control lists (ACLs) for topic-level authorization
Use Case
Deploying a microservices architecture with Kafka as the event bus, requiring firewall rules for broker connections (9092), ZooKeeper coordination (2181), and monitoring endpoints.
Try It — Port Number Reference
Related Topics
Database Ports: MySQL, PostgreSQL, MongoDB, Redis, and More
Databases
Container Ports: Docker (2375/2376), Kubernetes (6443), etcd (2379)
Containers & Orchestration
Monitoring Ports: Prometheus (9090), Grafana (3000), Elasticsearch (9200)
Monitoring & Observability
Common Development Ports: 3000, 5000, 8000, 8080, 8888
Development
Web Server Ports: HTTP (80), HTTPS (443), and Alternatives
Web Servers