HTTPfy

Port 1080 (SOCKS proxy)

SOCKS4/SOCKS5 proxies, including ssh -D dynamic forwarding when bound locally.

Registered (user) port, 1024-49151 TCP Proxies and Tor Do not expose to the internet

What port 1080 is used for

SOCKS4/SOCKS5 proxies, including ssh -D dynamic forwarding when bound locally.

Security: should port 1080 be open?

Do not expose to the internet. Open SOCKS proxies are scanned for and abused within hours. Bind to localhost or require authentication.

IANA assignment

Service nameProtoDescriptionAssigneeReference
socks TCP Socks Ying Da Lee -
socks UDP Socks Ying Da Lee -

Check what is listening on port 1080

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

Test it from outside

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

Block port 1080 in the firewall

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

Related ports

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