CyberHunter
Local dataset, no network
// Web

Port 8989: Sun Web Server SSL Admin Service

Port 8989 is assigned by IANA to sunwebadmins (Sun Web Server SSL Admin Service).

8989

How sunwebadmins works

Web
browser:8989sunwebadmins browser:8989sunwebadmins

A browser sends an HTTP request to port 8989 and the sunwebadmins server sends the page back.

Transport
TCP · UDP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
Category
Web
01 Security

Is port 8989 dangerous?

We have no specific security note for port 8989. Its risk depends on the program actually listening on it. General advice for web services:

  • Serve it over HTTPS only and check the HTTP security headers.
  • Keep admin consoles and development servers off the Internet.
  • Patch the application server and remove default credentials and sample apps.
02 Registry

IANA registry entries for port 8989

ServicePortTransportDescriptionReferenceUpdated
sunwebadmins 8989 TCP, UDP Sun Web Server SSL Admin Service - 2005-12

// source: IANA service name and port number registry

03 Check it

Which program uses port 8989, and is it reachable?

Linux

sudo ss -ltnup 'sport = :8989'      # process listening on 8989
sudo lsof -nP -i :8989

macOS

sudo lsof -nP -i :8989

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 8989 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 8989
netstat -ano | findstr :8989

From another machine

nmap -p 8989 -sV <host>
sudo nmap -sU -p 8989 <host>
nc -zv <host> 8989

Block it in the firewall

sudo ufw deny 8989/tcp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 8989" -Direction Inbound -LocalPort 8989 -Protocol TCP -Action Block  # Windows
04 FAQ
What is port 8989 used for?

Port 8989 is assigned by IANA to sunwebadmins (Sun Web Server SSL Admin Service).

Is port 8989 TCP or UDP?

Port 8989 is registered for TCP and UDP.

Is it safe to open port 8989?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Serve it over HTTPS only and check the HTTP security headers.

How do I check if port 8989 is open?

On Linux run "ss -ltnup 'sport = :8989'", on macOS "lsof -nP -i :8989", and on Windows "netstat -ano | findstr :8989" to see the local process. From another machine, "nmap -p 8989 <host>" shows whether it is reachable.

05 Related

Latest vulnerability news

All news