Port 1080: SOCKS proxy

Port 1080 (TCP) is used by SOCKS proxy. SOCKS4/5 proxies, including SSH dynamic forwarding (ssh -D 1080).

1080Port
TCPProtocol
socksIANA service name
VPN & proxyCategory

Port range

1080 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Only open port 1080 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 1080 in a firewall

ufw         sudo ufw allow 1080/tcp
iptables    sudo iptables -A INPUT -p tcp --dport 1080 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=1080/tcp
Windows     New-NetFirewallRule -DisplayName "SOCKS proxy 1080" -Direction Inbound -Protocol TCP -LocalPort 1080 -Action Allow

Check if port 1080 is open

nc -vz example.com 1080
Test-NetConnection example.com -Port 1080   # PowerShell
sudo ss -tulpn | grep ':1080 '   # what is listening locally (Linux)

Other vpn & proxy ports

Frequently asked questions

What is port 1080 used for?
SOCKS proxy. SOCKS4/5 proxies, including SSH dynamic forwarding (ssh -D 1080).
Is port 1080 TCP or UDP?
TCP.