What is port 8080? And the other ports proxies use (3128, 1080, 8888)
By the ProxyOnly team · 16 Nov 2026 · 5 min read
Port 8080 is the registered alternate HTTP port and a common home for proxies. What uses it, how 3128, 1080 and 8888 differ, and how to test a port yourself.
Port 8080 turns up in two places: error messages and proxy settings. A browser says the connection to localhost:8080 was refused, and a proxy guide says to enter 8080 as the port. This article explains what the number means, which software uses it, which other ports proxies tend to use and how to check what is listening on one. Where we ran a command, the output is what it printed on our machine.
The short answer
- Port 8080 is registered with IANA as
http-alt, with the description "HTTP Alternate (see port 80)". Nothing about the number is special. It is a convention for web software that does not use port 80. - A port does not tell you the protocol. Port 8080 can be a web server, an HTTP proxy, an admin console or something else, and the same is true of 3128, 1080 and 8888.
- For a proxy, the port is whatever your provider or your own configuration says. Each of our proxies comes with its own port, shown on the order.
What the registry says
IANA keeps the service name and port number registry. We read the TCP entries on 16 November 2026, when the file had been last modified on 11 November.
- 80
httpand 443https: the standard web ports. - 8080
http-alt: HTTP Alternate. Port 8008 carries the same name. - 1080
socks: registered for SOCKS. - 8118
privoxy: registered for the Privoxy HTTP proxy. - 3128
ndl-aas: Active API Server Port. It is registered to something else, even though Squid's default is 3128. - 8888
ddi-tcp-1: NewsEDGE server TCP. Tools that default to 8888 do so by habit and not because the number was registered for them. - 9050
versiera: Versiera Agent Listener. Tor's default SOCKS port is 9050 and is not registered to Tor either.
Registration only records that a name was assigned. Software can listen on any port, and much of it ignores the registry.
Who uses which port by default
We checked each of these in the project's own documentation on 16 November 2026.
- 8080: Spring Boot uses it as the default
server.port, Jenkins is set to listen on it in the Linux install guide, and the regular proxy mode of mitmproxy starts on it. - 3128: Squid normally listens on it.
- 8118: Privoxy listens on 127.0.0.1:8118 unless you change it.
- 8888: the sample configuration file of Tinyproxy shows
Port 8888. - 9050: the Tor manual treats 9050 as the default
SocksPort.
Software that wants a port below 1024 usually needs extra privileges on Unix-like systems. Tinyproxy's sample file says to start it as root if you choose one, and that is one reason proxies and development servers gravitate to higher numbers.
Check what is listening on a port
To see which program owns a port on macOS or Linux, ask lsof. We started Python's built-in web server on 8080 first, and you replaces our user name below.
$ lsof -nP -iTCP:8080 -sTCP:LISTEN
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Python 94722 you 3u IPv4 0x4b01511c9820d095 0t0 TCP 127.0.0.1:8080 (LISTEN)
$ nc -vz 127.0.0.1 8080
Connection to 127.0.0.1 port 8080 [tcp/http-alt] succeeded!
$ curl -sS http://127.0.0.1:8080/
hello from port 8080nc looked the port up in the system's own service list and printed http-alt, the same name the registry gives. On Windows, netstat -ano shows the process ID that owns each listening port. We did not run that one.
To test a port on another machine, a few lines of Python work on any system. Only test hosts that you own or are allowed to test.
import socket
import sys
host = sys.argv[1]
for port in [int(p) for p in sys.argv[2:]]:
try:
with socket.create_connection((host, port), timeout=3):
print(f"{host}:{port} open")
except ConnectionRefusedError:
print(f"{host}:{port} closed (connection refused)")
except socket.timeout:
print(f"{host}:{port} no answer (timed out, often a firewall)")
except OSError as exc:
print(f"{host}:{port} error: {exc}")We ran it against our local test servers. Nothing was listening on 3128, and the HTTP and SOCKS test servers answered on the other ports.
$ python3 port_check.py 127.0.0.1 3128 8080 8101 8104 11080
127.0.0.1:3128 closed (connection refused)
127.0.0.1:8080 open
127.0.0.1:8101 open
127.0.0.1:8104 open
127.0.0.1:11080 openAn open port only shows that something accepted the connection. It does not show what the program speaks, so it cannot tell an HTTP proxy from a SOCKS server or a web page. SOCKS4 vs SOCKS5 vs HTTP proxies shows what happens when you guess wrong.
What the errors mean
- Refused:
curl: (7) Failed to connect to 127.0.0.1 port 8080 after 0 ms: Couldn't connect to server. The machine answered and said nothing listens there. The proxy is not running, or you have the wrong port. - Accepted and silent:
curl: (28) Operation timed out after 5009 milliseconds with 0 bytes received. We got this from a test proxy that accepts connections and never answers. Something is listening, but it is stuck or is not speaking HTTP. - No answer at all: the connection attempt times out before it is made. A wrong address or a firewall that drops packets looks like this, which is why a proxy that works at home can fail on an office network.
Our proxy connection timed out and ERR_PROXY_CONNECTION_FAILED pages cover the next steps for each case.
Put the port in a proxy URL
The port goes after the host, behind a colon. This is the form, with the host and port of a proxy from your order, and the scheme is http even for HTTPS sites because the proxy only opens a tunnel.
curl -x http://USERNAME:PASSWORD@HOST:PORT https://httpbin.org/ipIf the port is 8080, write 8080 in place of PORT. The number is only part of the address.
Safety
- Ports like 8080 often hold development servers and admin consoles. Jenkins, for one, is set up to listen on 8080 in its Linux install guide. Keep them behind a login or a firewall rather than on the open internet.
- A proxy on a well-known port with no login is open to anyone who finds it. If you run your own, require a login and restrict who can connect, as running your own proxy explains.
- If a proxy works in one place and not another, test the port from the place where it fails.
Questions people ask
Is port 8080 the same as port 80?
No. They are different ports, and a browser uses 80 for http:// unless the address names another port. To reach a server on 8080 you write the port, as in http://localhost:8080.
Is port 8080 safe?
The number is neither safe nor unsafe. What matters is the program listening on it and who can reach it.
Does a proxy have to use 8080?
No. A proxy can listen on any port. Squid defaults to 3128, Privoxy to 8118, and each of our proxies comes with its own port.
Try it yourself
Create an account, add funds from US$1 and order a proxy in the country you need.
Keep reading
25 Nov 2026 · Proxy basics
IP whitelisting (allowlisting) explained, and how static proxies help
IP allowlisting restricts access to a known set of addresses. Why it keeps breaking when your own address changes, and the fixes that actually hold.
25 Nov 2026 · Proxy basics
Buying IPv6 proxies: when they work and when they do not
IPv6 proxies cost a fraction of IPv4 because they only reach sites that publish an IPv6 address. How to check your targets before you spend anything.