Port 9092: Apache Kafka

Port 9092 (TCP) is used by Apache Kafka. Kafka broker default port (unofficial use).

9092Port
TCPProtocol
XmlIpcRegSvcIANA service name
DevOps & dev serversCategory

Port range

9092 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Only open port 9092 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 9092 in a firewall

ufw         sudo ufw allow 9092/tcp
iptables    sudo iptables -A INPUT -p tcp --dport 9092 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=9092/tcp
Windows     New-NetFirewallRule -DisplayName "Apache Kafka 9092" -Direction Inbound -Protocol TCP -LocalPort 9092 -Action Allow

Check if port 9092 is open

nc -vz example.com 9092
Test-NetConnection example.com -Port 9092   # PowerShell
sudo ss -tulpn | grep ':9092 '   # what is listening locally (Linux)

Other devops & dev servers ports

Frequently asked questions

What is port 9092 used for?
Apache Kafka. Kafka broker default port (unofficial use).
Is port 9092 TCP or UDP?
TCP.