Port 1080 — SOCKS proxy
TCP registered
What runs on port 1080
SOCKS4/5 proxy protocol, also what `ssh -D` opens.
The SOCKS proxy port, and what ssh -D 1080 opens for a dynamic tunnel. SOCKS operates below the application layer, so it proxies anything TCP rather than just HTTP. An open SOCKS proxy reachable from the internet will be found and used to launder traffic within days, which is why the SSH form should always be bound to localhost rather than to all interfaces.
Security considerations
An open SOCKS proxy will be found and abused. Bind it to localhost.
Checking whether something is listening
# Linux / macOS — what is bound to the port
sudo lsof -i :1080
sudo ss -lntp | grep :1080
# Windows
netstat -ano | findstr :1080
Get-NetTCPConnection -LocalPort 1080
# is it reachable from outside?
nc -zv example.com 1080
curl -v telnet://example.com:1080
Freeing the port
# find the process, then stop it
sudo lsof -ti :1080 | xargs kill # Linux / macOS
netstat -ano | findstr :1080 # note the PID, then:
taskkill /PID <pid> /F # Windows
Should this port be open to the internet?
Usually not. Expose it only if a specific external client needs it, and restrict by source address where you can.
Opening or blocking port 1080
Finding the port is usually the first half of the job. Start narrow — the second rule is there for services that genuinely serve the public, and most do not:
# ufw — Debian, Ubuntu
sudo ufw allow from 10.0.0.0/8 to any port 1080 proto tcp
sudo ufw allow 1080/tcp # only if it genuinely serves the public
# firewalld — RHEL, Fedora, CentOS
sudo firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source address=10.0.0.0/8 port port=1080 protocol=tcp accept'
sudo firewall-cmd --reload
# iptables, if you are still there
sudo iptables -A INPUT -p tcp --dport 1080 -s 10.0.0.0/8 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 1080 -j DROP
# Windows
New-NetFirewallRule -DisplayName "SOCKS proxy 1080" -Direction Inbound -Protocol TCP -LocalPort 1080 -RemoteAddress 10.0.0.0/8 -Action Allow
10.0.0.0/8 stands in for a private range — substitute your own. Note that a firewall rule does not undo a service bound to 0.0.0.0; it only stops packets reaching it, and a misconfigured or disabled firewall then exposes it immediately.
Quick reference
| Port | 1080 |
| Protocol | TCP |
| Service | SOCKS proxy |
| Range | Registered (1024–49151) — any user process may bind |
Frequently asked questions
What is port 1080 used for?
SOCKS4/5 proxy protocol, also what `ssh -D` opens.
Is it safe to open port 1080?
An open SOCKS proxy will be found and abused. Bind it to localhost.
How do I check if port 1080 is open?
Locally, sudo lsof -i :1080 on macOS or Linux, or netstat -ano | findstr :1080 on Windows. From outside, nc -zv host 1080 tells you whether anything answers.
Why do I get "address already in use" on port 1080?
Another process is bound to it — often a previous run of your own program that did not exit cleanly. Find it with lsof -ti :1080 and stop it, or configure your application to use a different port.
Can I change the port this service uses?
Almost always yes, in the service's configuration. Moving off a default port reduces automated scan noise, but it is obfuscation rather than security — a real attacker scans all 65,535.
Other common ports
- Port 1433 — Microsoft SQL Server
- Port 1521 — Oracle Database
- Port 1883 — MQTT
- Port 2049 — NFS
- Port 2375 — Docker API (plain)
- Port 2376 — Docker API (TLS)
- Port 3000 — Node.js / dev server
- Port 3306 — MySQL / MariaDB
- Port 3389 — RDP
- Port 4200 — Angular dev server
- Port 5000 — Flask / dev server
- Port 5173 — Vite
- Port 5432 — PostgreSQL
- Port 5672 — AMQP / RabbitMQ
- Port 6379 — Redis
- Port 8000 — HTTP alternate
- Port 8080 — HTTP alternate
- Port 8443 — HTTPS alternate