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