TCPRegistered PortFirewall: Usually Closed
9600

Logstash API

What is Port 9600?

Port 9600 is the default monitoring API port for Logstash, the data processing pipeline component of the Elastic Stack. Logstash collects, transforms, and forwards data from diverse sources to destinations like Elasticsearch. The monitoring API on port 9600 provides real-time information about Logstash pipeline performance, JVM metrics, plugin statistics, and node information. Operations teams use this API to monitor Logstash health, detect pipeline bottlenecks, and troubleshoot data processing issues. The API provides endpoints for pipeline stats, OS metrics, JVM heap usage, and hot threads analysis.

Common Uses

  • Logstash pipeline monitoring
  • ELK Stack health monitoring
  • Data pipeline performance analysis
  • Logstash node information queries

Technical Details

Port Number9600
ProtocolTCP
CategoryRegistered
Service NameLogstash API
Default FirewallUsually Closed
Port Test Commands

Copy-paste commands to check port 9600 (Logstash API) from your terminal

Test connectivity

Netcat (nc)Check if TCP port is reachable
nc -zv example.com 9600
curl (HTTP)Test HTTP response on this port
curl -v --max-time 5 http://example.com:9600/
TelnetBasic TCP port connectivity check
telnet example.com 9600
nmapScan port 9600 with service detection
nmap -p 9600 -sV example.com
Bash /dev/tcpPure bash TCP check (no extra tools needed)
(echo > /dev/tcp/example.com/9600) 2>/dev/null && echo "open" || echo "closed"

Open port in firewall

UFW (Ubuntu / Debian)
sudo ufw allow 9600/tcp
iptables
sudo iptables -A INPUT -p tcp --dport 9600 -j ACCEPT
firewalld (RHEL / CentOS)
sudo firewall-cmd --permanent --add-port=9600/tcp && sudo firewall-cmd --reload

Security Considerations

!

Restrict port 9600 access to monitoring systems only. The API exposes internal Logstash configuration details. In newer versions, authentication can be enabled. Don't expose the monitoring API to untrusted networks.

Popular Ports Reference

The most commonly used and referenced network ports

Related Ports