Port 9300: Elasticsearch transport

Port 9300 (TCP) is used by Elasticsearch transport. Elasticsearch node-to-node traffic (unofficial use).

9300Port
TCPProtocol
vraceIANA service name
DatabasesCategory

Port range

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

Security

Port 9300 should not be reachable from the public internet. Restrict it to trusted networks or a VPN, and scan your public IP to confirm it is closed.

Open port 9300 in a firewall

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

Check if port 9300 is open

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

Other databases ports

Frequently asked questions

What is port 9300 used for?
Elasticsearch transport. Elasticsearch node-to-node traffic (unofficial use).
Is port 9300 TCP or UDP?
TCP.