HTTPfy

Port 9345 (rancher)

IANA assigns port 9345 to rancher: Rancher Agent.

Registered (user) port, 1024-49151 TCP

IANA assignment

Service nameProtoDescriptionAssigneeReference
rancher TCP Rancher Agent Rancher Labs Inc -

Registry dates for this port: registered 2015-04-14.

Check what is listening on port 9345

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

Test it from outside

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

Block port 9345 in the firewall

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

Related ports

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