- Restrict management and monitoring protocols to the monitoring network.
- Replace community strings and default credentials.
- Send logs over TLS.
Port 5989: WBEM CIM-XML (HTTPS)
Port 5989 is assigned by IANA to wbem-https (WBEM CIM-XML (HTTPS)).
How wbem-https works
Monitoring & loggingThe monitoring server collects metrics, alerts or logs from devices over port 5989.
- 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
- Monitoring & logging
Is port 5989 dangerous?
We have no specific security note for port 5989. Its risk depends on the program actually listening on it. General advice for monitoring & logging services:
IANA registry entries for port 5989
| Service | Port | Transport | Description | Reference | Updated |
|---|---|---|---|---|---|
| wbem-https | 5989 | TCP, UDP | WBEM CIM-XML (HTTPS) | - | - |
// source: IANA service name and port number registry
Which program uses port 5989, and is it reachable?
Linux
sudo ss -ltnup 'sport = :5989' # process listening on 5989
sudo lsof -nP -i :5989macOS
sudo lsof -nP -i :5989
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 5989 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 5989 netstat -ano | findstr :5989
From another machine
nmap -p 5989 -sV <host> sudo nmap -sU -p 5989 <host> nc -zv <host> 5989
Block it in the firewall
sudo ufw deny 5989/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 5989" -Direction Inbound -LocalPort 5989 -Protocol TCP -Action Block # Windows
What is port 5989 used for?
Port 5989 is assigned by IANA to wbem-https (WBEM CIM-XML (HTTPS)).
Is port 5989 TCP or UDP?
Port 5989 is registered for TCP and UDP.
Is it safe to open port 5989?
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. Restrict management and monitoring protocols to the monitoring network.
How do I check if port 5989 is open?
On Linux run "ss -ltnup 'sport = :5989'", on macOS "lsof -nP -i :5989", and on Windows "netstat -ano | findstr :5989" to see the local process. From another machine, "nmap -p 5989 <host>" shows whether it is reachable.