HTTPfy

Port 5002 (rfe)

IANA assigns port 5002 to rfe: radio free ethernet.

Registered (user) port, 1024-49151 TCPUDP

IANA assignment

Service nameProtoDescriptionAssigneeReference
rfe TCP radio free ethernet - -
rfe UDP radio free ethernet - -

Check what is listening on port 5002

Linux: is anything listening on TCP 5002?
sudo ss -tlnp 'sport = :5002'
Linux: UDP 5002
sudo ss -ulnp 'sport = :5002'
Linux / macOS: which process owns the port
sudo lsof -nP -i :5002
Older Linux / BSD (net-tools)
sudo netstat -tlnp | grep ':5002 '
Windows (Command Prompt)
netstat -ano | findstr :5002
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 5002 -State Listen | Select LocalAddress,OwningProcess

Test it from outside

From another machine
nc -vz -w 5 HOST 5002
From Windows
Test-NetConnection HOST -Port 5002
UDP probe (no reply does not prove it is closed)
nc -vzu -w 5 HOST 5002

Block port 5002 in the firewall

ufw
sudo ufw deny 5002/tcp
iptables
sudo iptables -A INPUT -p tcp --dport 5002 -j DROP
nftables
sudo nft add rule inet filter input tcp dport 5002 drop
Windows Firewall
New-NetFirewallRule -DisplayName 'Block TCP 5002' -Direction Inbound -Protocol TCP -LocalPort 5002 -Action Block
ufw
sudo ufw deny 5002/udp
iptables
sudo iptables -A INPUT -p udp --dport 5002 -j DROP
nftables
sudo nft add rule inet filter input udp dport 5002 drop
Windows Firewall
New-NetFirewallRule -DisplayName 'Block UDP 5002' -Direction Inbound -Protocol UDP -LocalPort 5002 -Action Block

Related ports

All port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.