HTTPfy

Port 8301 (Consul Serf LAN)

Consul LAN gossip between agents (8302 is WAN gossip, 8300 server RPC).

Registered (user) port, 1024-49151 TCPUDP Network infrastructure Do not expose to the internet

What port 8301 is used for

Consul LAN gossip between agents (8302 is WAN gossip, 8300 server RPC).

Security: should port 8301 be open?

Do not expose to the internet. Enable gossip encryption; agents only.

IANA assignment

Service nameProtoDescriptionAssigneeReference
amberon TCP Amberon PPC/PPS Ronald Snyder -
amberon UDP Amberon PPC/PPS Ronald Snyder -

Registry dates for this port: registered 2006-03.

Check what is listening on port 8301

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

Test it from outside

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

Block port 8301 in the firewall

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

Related ports

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