HTTPfy

Port 9876 (sd)

IANA assigns port 9876 to sd: Session Director.

Registered (user) port, 1024-49151 TCP

IANA assignment

Service nameProtoDescriptionAssigneeReference
sd TCP Session Director Van Jacobson -

Check what is listening on port 9876

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

Test it from outside

From another machine
nc -vz -w 5 HOST 9876
From Windows
Test-NetConnection HOST -Port 9876

Block port 9876 in the firewall

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

Related ports

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