All ports
Port5987/UDP
wbem-rmiPort
5987
Protocol
UDP
Category
Registered
Service
wbem-rmi
What is port 5987?
Port 5987/UDP is a Registered port, registered with IANA for specific applications. It is associated with the wbem-rmi service.
WBEM RMI
Useful commands
nmapnmap -p 5987 -sV example.comnetcatnc -zv example.com 5987curlcurl -v http://example.com:5987/telnettelnet example.com 5987bash(echo > /dev/udp/example.com/5987) 2>/dev/nullFirewall commands
UFWAllow
sudo ufw allow 5987/udpDeny
sudo ufw deny 5987/udpiptablesAllow
sudo iptables -A INPUT -p udp --dport 5987 -j ACCEPTDeny
sudo iptables -D INPUT -p udp --dport 5987 -j ACCEPTfirewalldAllow
sudo firewall-cmd --permanent --add-port=5987/udpWindowsAllow
netsh advfirewall firewall add rule name="Open Port 5987" dir=in action=allow protocol=UDP localport=5987Security Risks
- Unauthorized access to the service
- Data exposure if the service is unauthenticated
- Outdated versions with vulnerabilities
- Incorrect service configuration
Frequently Asked Questions
What service runs on port 5987/UDP?
Port 5987/UDP is associated with the wbem-rmi service. WBEM RMI
Is it safe to expose port 5987 to the Internet?
It depends on the service and configuration. Port 5987 (wbem-rmi) is a Registered port. If you need to expose it, keep the service updated, use strong authentication, and configure a firewall. It's always recommended to restrict access by IP when possible.
How do I check if port 5987 is open?
You can use nmap: `nmap -p 5987 -sV example.com`, netcat: `nc -zv example.com 5987`, or the bash command: `(echo > /dev/udp/example.com/5987) 2>/dev/null && echo "Open" || echo "Closed"`.
How do I open or close port 5987 on my firewall?
On Linux with UFW: `sudo ufw allow 5987/udp` (open) or `sudo ufw deny 5987/udp` (close). With iptables: `sudo iptables -A INPUT -p udp --dport 5987 -j ACCEPT`. On Windows: `netsh advfirewall firewall add rule name="Open Port 5987" dir=in action=allow protocol=UDP localport=5987`.
What applications and services use port 5987?
Port 5987/UDP is used by the wbem-rmi service. Specific uses depend on the software and configuration. Check our related tools section for more information.