HTTPfy

Port 167 (namp)

IANA assigns port 167 to namp: NAMP.

Well-known (system) port, 0-1023 TCPUDP

IANA assignment

Service nameProtoDescriptionAssigneeReference
namp TCP NAMP Marty Schoffstahl -
namp UDP NAMP Marty Schoffstahl -

Check what is listening on port 167

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

Test it from outside

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

Block port 167 in the firewall

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

Related ports

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