Port 80 carries plain HTTP and port 443 carries HTTPS. Port 8080 is an alternate HTTP port that developers use for test servers and proxies. For a public website, send visitors to 443, keep port 80 only for redirects, and keep 8080 behind a proxy.
A port is a numbered door on a server, and it only tells a program where to connect. The protocol on that door decides whether traffic is encrypted, not the number.
What Is the Difference between Port 80, 8080 and 443?
RFC 9110 on default ports sets port 80 as the default for http:// addresses. It sets port 443 as the default for https:// addresses, while port 8080 has no default role. Teams use it as a second HTTP port, so browsers need it typed in the address.
| Feature | Port 80 | Port 8080 | Port 443 |
|---|---|---|---|
| Protocol | HTTP | HTTP (alternate) | HTTPS |
| Encryption | None | None, unless you add TLS | TLS |
| Typed in the URL? | No | Yes, as :8080 | No |
| Needs elevated rights on Linux by default? | Yes | No | Yes |
| Typical job | Redirects to HTTPS | Dev servers and proxy backends | Public website traffic |
Two ports can carry the same protocol, so the number alone never makes a site secure. If you only need the two-port view, then see our port 80 vs port 443 comparison.
What Is Port 80 Still Used For?
Port 80 still does one job well: it catches visitors who type http:// and sends them to HTTPS. It also carries certificate checks when you renew. The Let's Encrypt challenge types page says the HTTP-01 challenge can only be done on port 80. If you close it, both stop working.
Beyond those two jobs, port 80 also survives in a few places. Our guide to port 80 covers each one in more depth.
- Redirecting http:// requests to the https:// version with a 301.
- Issuing and renewing certificates through HTTP-01 validation.
- Isolated internal tools that never face the internet.
- Old devices that cannot speak TLS.
What Is Port 8080 and Why Do Apps Use It?
Port 8080 is an alternate HTTP port, and the IANA-registered service name for it is http-alt. Developers use it for test servers, proxies and tools such as Jenkins. On Linux, ports below 1024 need elevated rights by default, and 8080 does not.

A non-root user can bind port 8080 but not ports 80 or 443.
In a local test, a non-root user was denied ports 80 and 443 but could bind 8080. Because of that, production setups often put a proxy on 443, then forward traffic to the app on 8080.
Does Port 443 Make a Connection Secure?
No, because the security comes from TLS, which needs a valid certificate, and 443 is only where browsers expect it. If you send an HTTPS request to a port that speaks plain HTTP, the connection fails. Chrome then shows a protocol error instead of the page.

Chrome's error when https:// reaches a plain HTTP server on port 8080.
Chrome's HTTP warning update says nearly 95% of desktop users see no HTTP warnings in a given week (October 2026). Our HTTP vs HTTPS comparison explains the wider difference.
Which Port Should You Use for Each Job?
Serve public visitors on 443. Keep port 80 open only to redirect and to renew certificates. Run apps on 8080, or another high port, behind a proxy and keep it off the public internet. With that rule, each port stays in its own lane.
| Job | Port | Reason |
|---|---|---|
| Public website pages | 443 | Encrypted, and where browsers look first. |
| Redirect http:// to https:// | 80 | Catches typed and old links. |
| Let's Encrypt HTTP-01 check | 80 | The challenge runs on port 80 only. |
| Local development server | 8080 | No special rights needed. |
| App behind Nginx or HAProxy | 8080 | The proxy handles TLS on 443. |
| Second HTTP service on one server | 8080 | Avoids a clash with the service on port 80. |
| Admin tools such as Jenkins | 8080, behind a proxy or VPN | Keeps the login page off the open internet. |

A common layout: redirect on 80, HTTPS on 443, private app on 8080.
- W3Techs usage statistics show that 91.3% of websites use HTTPS by default (December 2026).
- Google Search Central confirmed HTTPS as a ranking signal in August 2014.
Other TLS services use their own ports, so our TLS and SSL port number guide lists them.
How Do You Check Which Port a Site Uses?
Test each port with curl and read the status line. Port 80 should answer with a 301 redirect, then port 443 should answer 200 over TLS. A plain HTTP port should never receive an https:// request, as the last result shows.
- First, run curl -I http://example.com and look for a 301 status with a Location header that starts with https://.
- Then run curl -I https://example.com and expect a 200 status.
- Add a port to test another one, such as curl -I http://example.com:8080.
- If a command fails, check the firewall and the ports the server listens on.

Results from a local test server with a self-signed certificate. The -k flag skips certificate checks.
To confirm the certificate on 443 as well, run the SSLInsights SSL checker.
What Port Mistakes Break a Website?
Most port problems come from a mismatch between what a service speaks and where traffic is sent. The usual causes are a public app on 8080, a blocked port 80, and 443 open without a valid certificate. Each one has a quick fix, but you have to find it first.
- Serving real users on 8080 without TLS, which invites HTTP warnings.
- Blocking port 80, which breaks redirects and HTTP-01 renewals.
- Opening 443 without a valid certificate, which shows a browser error.
- Redirect loops, when the proxy and the app both redirect to HTTPS.
- A load balancer that forwards 443 to the wrong backend port.
- Firewall rules that allow 8080 but block 443.
Mixed content is a related problem, where an HTTPS page loads images over HTTP. Our mixed content fix guide covers it.
Frequently Asked Questions
Is port 8080 safe?
Port 8080 is not unsafe by itself, but it carries plain HTTP unless you add TLS. So keep it behind a proxy or firewall, and never expose admin pages on it to the open internet.
Can you run HTTPS on port 8080?
Yes, if the server is set up for TLS on that port. Visitors must then type :8080 in the address. Browsers treat it as a different origin from the one on 443.
Is the HTTPS port 443 or 8443?
The default HTTPS port is 443, which browsers use when no port is typed. Port 8443 is only an alternate that some admin panels and app servers choose, so visitors must type :8443.
Should you close port 80?
Not on a public site. Closing it breaks redirects for old http:// links, and it also stops HTTP-01 certificate checks. Keep it open and redirect everything to 443.
Does Chrome block HTTP sites now?
Chrome asks for permission before it first opens a public HTTP site. Local addresses and hosts without a public HTTPS certificate are exempt, per Google's October 2026 post.
Why is port 8080 blocked on some networks?
Some corporate and public networks only allow ports 80 and 443 outbound. A firewall rule that skips 8080 makes the site unreachable there, even though the server is fine.
