Skip to content

Port reference

Port 8089 (TCP) – Splunk Management (splunkd)

Splunk's REST management port (splunkd) used by the management API and inter-component communication.

tcpRegistered

Quick facts

Transport
tcp
Category
Registered
Risk level
High

Frequently targeted — restrict exposure and harden it.

Default state

Open on Splunk instances by default, bound to all interfaces; uses HTTPS but often with the default certificate.

What is port 8089 used for?

Port 8089 is Splunk's management port, served by the splunkd daemon. It exposes the REST management API that the Splunk web app, the CLI, and components like forwarders, indexers, and search heads use to configure the platform, dispatch searches, and talk to each other. It runs over HTTPS, often with Splunk's default self-signed certificate.

When would you open it?

Open or forward 8089 when distributed Splunk components or API clients on other hosts need to reach splunkd. It is an internal management channel, so it belongs on a private or management network, not the public internet.

Is it safe to open?

The management API can run searches and change configuration, making an exposed splunkd a high-value target, so keep it internal with strong credentials. See the security notes below.

How to check if this port is open

Linux
ss -tulpn | grep :8089
nmap -p 8089 <target>
Windows
netstat -ano | findstr :8089
Test-NetConnection <host> -Port 8089
macOS
lsof -i :8089
nmap -p 8089 <target>

How to open this port on your router

To reach this service from outside your network, forward the port on your router:

  1. Open your router's admin page (usually http://192.168.1.1 or http://192.168.0.1) and sign in.
  2. Find the "Port Forwarding" section — it may be called NAT, Virtual Server, or Applications & Gaming.
  3. Add a rule forwarding external port 8089 to your device's local IP, internal port 8089, protocol TCP.
  4. Save and reboot the router if prompted, then test the port from outside your network.

Only forward ports you understand — it exposes that device to the public internet. For remote admin access, a VPN is safer than forwarding the port.

Allow this port through the firewall

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

Security & risks

Common attacks

  • Credential brute force and password spraying against the management API
  • Abuse of the REST API to run searches, scripts, or admin actions
  • Server-side request forgery (SSRF) via Splunk features
  • Exploiting known Splunk Enterprise vulnerabilities for RCE or auth bypass

Hardening

  • Never expose 8089 to the internet; restrict to internal/management networks and allowlisted IPs
  • Replace the default splunkd certificate and enforce TLS verification
  • Use strong, unique admin credentials, rotate the secret, and enable MFA where possible
  • Apply least-privilege roles and disable unused REST endpoints/scripted inputs
  • Keep Splunk Enterprise patched and monitor the management API logs

How to block this port

Linux (ufw)
sudo ufw deny 8089/tcp
Linux (firewalld)
sudo firewall-cmd --permanent --remove-port=8089/tcp
sudo firewall-cmd --reload
Linux (iptables)
sudo iptables -A INPUT -p tcp --dport 8089 -j DROP
Windows
New-NetFirewallRule -DisplayName "Block 8089" -Direction Inbound -Protocol TCP -LocalPort 8089 -Action Block

nmap snippet

nmap -p8089 --script ssl-cert,http-title,http-auth <target>

Replace <target> with the host or range you're authorized to scan.

Related ports

Frequently asked questions

What is port 8089 used for?
It is the Splunk management port for splunkd — the REST API used for configuration, search dispatch, and communication between Splunk components such as forwarders, indexers, and search heads.
Is it safe to expose port 8089 to the internet?
No. The management API allows powerful administrative actions and is a brute-force and SSRF target. Restrict 8089 to internal management networks, allowlist IPs, replace the default certificate, and keep Splunk patched.

Browse by category

Related guides