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