3128Port
TCPProtocol
ndl-aasIANA service nameWebCategory
Port range
3128 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.
Security
Web ports are meant to be public, but keep the server patched, serve HTTPS, and do not expose admin panels on the same port without authentication.
Open port 3128 in a firewall
ufw sudo ufw allow 3128/tcp iptables sudo iptables -A INPUT -p tcp --dport 3128 -j ACCEPT firewalld sudo firewall-cmd --permanent --add-port=3128/tcp Windows New-NetFirewallRule -DisplayName "Squid proxy 3128" -Direction Inbound -Protocol TCP -LocalPort 3128 -Action Allow
Check if port 3128 is open
nc -vz example.com 3128 Test-NetConnection example.com -Port 3128 # PowerShell sudo ss -tulpn | grep ':3128 ' # what is listening locally (Linux)