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