- Require authentication on cameras and media servers.
- Keep IP cameras and recorders off the Internet; use a VPN for remote viewing.
- Update device firmware.
Port 5002: radio free ethernet
Port 5002 is assigned by IANA to rfe (radio free ethernet).
How rfe works
Media & streamingThe device streams video frames over port 5002, continuously, as they are captured.
- 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
- Media & streaming
Is port 5002 dangerous?
We have no specific security note for port 5002. Its risk depends on the program actually listening on it. General advice for media & streaming services:
IANA registry entries for port 5002
| Service | Port | Transport | Description | Reference | Updated |
|---|---|---|---|---|---|
| rfe | 5002 | TCP, UDP | radio free ethernet | - | - |
// source: IANA service name and port number registry
Which program uses port 5002, and is it reachable?
Linux
sudo ss -ltnup 'sport = :5002' # process listening on 5002
sudo lsof -nP -i :5002macOS
sudo lsof -nP -i :5002
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 5002 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 5002 netstat -ano | findstr :5002
From another machine
nmap -p 5002 -sV <host> sudo nmap -sU -p 5002 <host> nc -zv <host> 5002
Block it in the firewall
sudo ufw deny 5002/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 5002" -Direction Inbound -LocalPort 5002 -Protocol TCP -Action Block # Windows
What is port 5002 used for?
Port 5002 is assigned by IANA to rfe (radio free ethernet).
Is port 5002 TCP or UDP?
Port 5002 is registered for TCP and UDP.
Is it safe to open port 5002?
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. Require authentication on cameras and media servers.
How do I check if port 5002 is open?
On Linux run "ss -ltnup 'sport = :5002'", on macOS "lsof -nP -i :5002", and on Windows "netstat -ano | findstr :5002" to see the local process. From another machine, "nmap -p 5002 <host>" shows whether it is reachable.