HTTPS uses port 443 by default. When you visit an https:// address that names no port, your browser connects to TCP port 443 on the server, starts a TLS handshake, and only then sends the web request inside the encrypted connection. Plain HTTP uses port 80 instead. A site can run HTTPS on another port, but then the port must appear in the address.
Key takeaways
- HTTPS uses TCP port 443 by default; plain HTTP uses port 80.
- The port number is only a convention — TLS encryption, not the number, is what makes HTTPS secure.
- If a site uses a non-standard port such as 8443, the port must be written in the URL, and firewalls must allow it.
Every secure website you visit connects on the same port: 443. You never type it, you never see it, and yet it is the reason your browser knows where to find the encrypted version of a site instead of the plain one. This guide explains what port HTTPS uses, why it is 443, and when the answer changes.
What port is HTTPS?
HTTPS uses TCP port 443 by default. When you open an https:// address that names no port, your browser connects to port 443 on the server and starts the TLS handshake before sending any web request.
The rule is written into the HTTP standard itself. RFC 9110, section 4.2.2, says that if the port is empty or not given, TCP port 443, the reserved port for HTTP over TLS, is the default. That is why https://example.com and https://example.com:443 mean exactly the same thing.
The Internet Assigned Numbers Authority (IANA) keeps the official registry of port assignments. It lists https on port 443 for both TCP and UDP, described as "http protocol over TLS/SSL", with RFC 9110 as the reference. You can check this yourself in the IANA port registry.
What is a network port, and why does HTTPS need one?
A network port is a numbered endpoint that tells a computer which service should receive incoming traffic. An IP address finds the right machine; the port finds the right program on that machine.
Think of a server as an office building. The IP address is the street address, and each port is a different department inside. Web traffic goes to the web department, email goes to the mail department, and a file transfer goes somewhere else again. Without port numbers, a server running several services would not know which one a connection was for.
Ports are 16-bit numbers, so there are 65,536 of them, numbered 0 to 65,535. IANA divides them into three ranges: system ports 0–1023, assigned to core services; user ports 1024–49151, assigned on request; and dynamic or private ports 49152–65535, which are not assigned and are used for short-lived outgoing connections.
HTTPS needs its own port because plain HTTP and HTTPS must not be mixed up. If both used the same port, a server could not tell whether an incoming connection expected plain text or an encrypted TLS handshake. Giving HTTPS its own number — 443 — keeps the two apart cleanly.
Why is port 443 the standard for HTTPS?
Port 443 is the standard because IANA assigned it to the https service and RFC 9110 made it the default for the https scheme. Every browser and every web server follows the same rule, so the two sides always agree without any setup.
There is nothing technically special about the number 443. It does not encrypt anything by itself. The encryption comes from TLS, the protocol that runs on top of the connection. The port is only the meeting point where the browser expects to find a TLS-speaking web server.
The number dates back to the early days of the secure web. When HTTPS was standardized, it needed a port that was free in the system range and distinct from port 80, which HTTP already used. Port 443 was available, it was registered, and it stuck. Once millions of browsers, servers and firewalls were built around it, changing it became unthinkable.
Standardization is what makes the web usable. Because port 443 is the agreed default, you can click a link or type a domain and the browser knows exactly where to connect. If every site picked its own HTTPS port, every link would have to spell it out, and firewalls would have to guess which ports to allow.
What is the difference between port 80 and port 443?
Port 80 carries plain HTTP and port 443 carries HTTPS. The web pages are the same, but on port 80 everything travels as readable text, while on port 443 everything travels inside an encrypted TLS connection.
That difference changes what anyone on the network can see. On port 80, a person on the same Wi-Fi network, an internet provider, or anyone in the middle can read the pages you request and the data you send, including passwords. On port 443, they see only that you connected to a server, not what you asked for or what came back.
Port 443 also adds proof of identity. Before any page loads, the server must present a TLS certificate for the domain, and the browser checks that it was issued by a trusted authority. Port 80 has no such check, so nothing stops an attacker from impersonating a site on an open network.
Modern browsers treat the two very differently. Pages on port 80 get a "Not secure" warning, while pages on port 443 get a padlock. Some browser features, such as service workers and geolocation, only work on secure pages. As Cloudflare's HTTPS guide explains, HTTPS is the secure version of HTTP, encrypted to increase the security of data transfer.
| Port | Protocol | Encrypted? | Default scheme | Typical use |
|---|---|---|---|---|
| 80 | HTTP | No | http:// | Redirecting visitors to HTTPS; certificate checks |
| 443 | HTTPS | Yes — TLS | https:// | All public websites, logins, APIs and checkouts |
| 8080 | HTTP alternate | No | None | Development servers, proxies, admin panels |
| 8443 | HTTPS alternate | Yes — TLS | None | Control panels, second secure services, testing |
| 8000 | HTTP alternate | No | None | Local development servers |
Port 80 still has one legitimate job on a modern site: redirecting visitors to port 443. When someone types an old http:// link, the server on port 80 answers with a redirect to the same address on 443. Closing port 80 entirely breaks those first visits, so most sites keep it open for redirects only.
Is port 443 TCP or UDP?
Both, for different versions of HTTP. HTTP/1.1 and HTTP/2 run over TCP port 443, while HTTP/3 runs over QUIC, a transport protocol built on UDP port 443. IANA registers the https service on 443 for both transports.
For most of the web's history, the answer was simply TCP. A browser opened a TCP connection to port 443, ran the TLS handshake, and then sent HTTP requests inside it. HTTP/2, the version most sites still use, works the same way.
HTTP/3 changed the transport but kept the port. It runs over QUIC, which uses UDP instead of TCP, so the browser and server can set up encryption and start sending data with fewer round trips. The server first advertises HTTP/3 support over a normal TCP connection; only then does the browser switch to UDP 443. If UDP 443 is blocked, the browser falls back to TCP 443.
For firewalls, this means allowing port 443 on both TCP and UDP if you want the fastest version of the web. Blocking UDP 443 does not break sites, but it does cost you the speed benefit of HTTP/3.
When does HTTPS use a different port?
HTTPS uses a different port when a server is configured that way — most often for development, control panels, or a second service that cannot use port 443 because another service already owns it. The site still uses TLS; only the meeting point changes.
Port 8443 is the most common alternative. You will see it on hosting control panels, admin interfaces, and test servers. Port 8080 is the plain-HTTP equivalent and is often used for development servers and proxies. Other common choices include 9443, 8444 and 10443, though any port from 1 to 65,535 can technically serve HTTPS.
When a site runs on a non-standard port, the port becomes part of the address. https://example.com:8443/ connects to port 8443, and leaving the port out would send the browser to 443 instead, where it would find nothing or the wrong service. That is why you sometimes see a port number in a link to an internal tool or a router login page.
There is a real cost to using another port. Many company and public Wi-Fi firewalls only allow outbound traffic on ports 80 and 443, so a site on 8443 may be unreachable for some visitors. Links look messier, bookmarks break if the port changes, and some security tools assume HTTPS lives on 443. For a public website, port 443 is the right choice.
How do I check which port a website uses?
Start with the address bar: if the URL has a port after the domain, such as :8443, that is the port. If it has none, an https:// address uses port 443 and an http:// address uses port 80.
That simple rule answers the question for almost every public site. The port is only visible in the URL when it differs from the default, so a clean address with no port number is itself the answer: 443 for HTTPS, 80 for HTTP.
To confirm it with real evidence, use curl from a terminal. On macOS and Linux, open Terminal; on Windows 10 and 11, open PowerShell, which includes curl. Then run:
curl -v https://example.com/
Look for the line that says where it connected, such as Connected to example.com port 443. If the site uses another port, add it to the address, for example curl -v https://example.com:8443/, and see whether you get a response.
In the browser, open Developer Tools with F12, go to the Network tab, and reload the page. Click any request and look at the remote address: it shows the server's IP and port.
You can also check the certificate from the padlock icon. If it is valid and matches the domain, the site is genuinely serving HTTPS on that port. Our free SSL checker does the same check without the terminal: enter a domain and it reports the certificate, its expiry date, and whether the site is reachable over HTTPS.
Only scan ports on systems you own or have permission to test. Running a port scan against someone else's server without permission can look like an attack and may break the law where you live. If you need the IP behind a domain for your own troubleshooting, our DNS lookup tool shows the records a domain publishes.
How do firewalls and proxies handle port 443?
Firewalls treat port 443 as the main door for web traffic: it is almost always allowed out, because blocking it would break nearly every website, app and software update. That is exactly why HTTPS works so reliably.
A corporate firewall typically allows outbound connections to ports 80 and 443 and blocks the other 65,000-plus ports. This is a sensible default: staff can browse the web, while random services cannot reach the internet. It is also why a site on port 8443 may load fine at home but fail at the office — the office firewall simply never opens that door.
Proxies add another layer. When you use a corporate or school proxy, your browser does not connect to the website directly. For HTTPS, it sends the proxy a CONNECT request naming the site and port 443, and the proxy opens an encrypted tunnel. The proxy can see which site you asked for, but not the pages or passwords inside the tunnel.
Cloudflare and other reverse proxies sit in front of many sites and accept traffic on a fixed list of ports, including 443 and 8443 for HTTPS. If your site runs on an unusual port behind such a service, the proxy may refuse it. As Cloudflare explains, a firewall may leave open only ports such as 25, 80 and 443, and block the rest.
At home, your router's firewall should already allow outbound port 443 and block unexpected inbound traffic. You do not need to open inbound port 443 unless you are running a public web server. If you run a home server, forward only the ports you need, and keep the rest closed — our guide to securing your Wi-Fi covers the router settings that matter most.
What are the common mistakes with HTTPS ports?
The most common mistake is thinking the port number itself makes a site secure. It does not. The encryption comes from TLS and the certificate, not from the number 443, and a site on port 8443 with a valid certificate is just as encrypted as one on 443.
The mirror-image mistake is assuming that anything on port 443 is safe. Attackers can get certificates for phishing domains too, so a padlock on port 443 proves the connection is encrypted, not that the site is honest. Always check the domain name itself before you log in or pay.
Another frequent error is mixing up the port and the protocol. Serving plain HTTP on port 443 does not make it HTTPS, and it will break browsers with an SSL error. Likewise, serving HTTPS on port 80 will fail, because browsers connecting there expect plain text. The port and the protocol must match.
Site owners also forget the redirect. If port 80 is closed, visitors who type the domain without https:// get nothing instead of being sent to the secure version. The fix is simple: keep port 80 open only to redirect everything to port 443, and add a Strict-Transport-Security header so browsers remember to use HTTPS next time. You can verify the header and the redirect with our security headers checker.
Finally, people open ports they do not need. Every open port is a door an attacker can knock on, so database ports, remote desktop and admin panels should never face the internet on their default ports. If you are not sure what your site exposes, check your own address with our what-is-my-IP tool and review what your network actually shows to the world.
The bottom line
HTTPS uses port 443. It is the number IANA assigned to the https service, the default RFC 9110 sets for the https scheme, and the port every browser tries first. Port 80 is its plain-text twin, and the alternatives — 8443, 8080 and the rest — are for special cases, not public websites.
Remember the two things that matter most: the port is a convention, and TLS is the security. A site on the right port with an expired certificate is still broken, and a site on the wrong port with a valid certificate is still encrypted. Check your own site with the free SSL checker.
Frequently asked questions
What port is HTTPS?
HTTPS uses TCP port 443 by default. When an HTTPS address names no port, the browser connects to port 443 automatically. The same port also carries HTTP/3 over UDP, while HTTP/1.1 and HTTP/2 use TCP.
What port is HTTP?
HTTP uses TCP port 80 by default. When you open a plain HTTP address with no port in it, your browser connects to port 80. Most sites today only use port 80 to redirect visitors to the HTTPS version on port 443.
Is port 443 TCP or UDP?
Both. Standard HTTPS with HTTP/1.1 and HTTP/2 runs over TCP port 443. HTTP/3 runs over QUIC, which uses UDP port 443. IANA registers the https service on port 443 for both TCP and UDP.
Why is HTTPS port 443 and not another number?
Port 443 is the number IANA assigned to the https service, and RFC 9110 names it as the default port for the https scheme. There is nothing special about the number itself; it is simply the value the whole internet agreed on so browsers and servers match without being told.
Can HTTPS run on a port other than 443?
Yes. A server can serve HTTPS on any port, such as 8443, but the port must then be written in every URL, for example example.com:8443. Visitors behind strict firewalls may also be blocked, because many networks only allow ports 80 and 443 out.
How do I check what port a website uses?
Look at the URL first: a port after the domain, such as :8443, is the port. If there is none, HTTPS means port 443 and HTTP means port 80. For proof, run curl -v against the site's HTTPS address in a terminal and look for the line that says which port it connected to.
Do I need to open port 443 on my firewall?
If you run a public website, yes: port 443 must be reachable or nobody can load your site over HTTPS. If you only browse the web, your firewall normally allows outbound connections to port 443 already, and you should not open inbound port 443 on a home computer.
Is a site safe just because it uses port 443?
No. Port 443 only means the connection is encrypted. A phishing site can use HTTPS and a valid certificate too. Check the domain name carefully and look for other signs of trust before entering passwords or payment details.
Sources
- IANA — Service Name and Transport Protocol Port Number Registry
- IETF — RFC 9110: HTTP Semantics
- Cloudflare — What is HTTPS?
- Cloudflare — What is a computer port?
- Elementor — HTTPS Port: What It Is and How to Use It
- Openprovider — What is an SSL port? A technical guide for HTTPS
- GeekChamp — How to Find a Website IP Address and Port Number
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against RFC 9110, IANA's port registry and Cloudflare's HTTPS and computer-port guides.
How we write and fact-check →