Port 443 (HTTPS)

Port 443: HTTPS on TCP and UDP, tests with curl and openssl and TLS errors.

loading Port 443 (HTTPS)
About this tool

Port 443: what it is

Port 443 is the default port of HTTPS: HTTP carried inside a TLS connection. The browser uses it whenever an address starts with https://, so you never type it. Since HTTP/3 it is used twice: TCP for HTTP/1.1 and HTTP/2, and UDP for HTTP/3 over QUIC.

In the port lookup it is listed as HTTPS, HTTP/3 on TCP / UDP. This page opens that tool on 443.

  • Websites and APIs: almost all public web traffic ends here, and so do most mobile app calls.
  • The certificate: the server presents it during the TLS handshake, and the name in it must match the host you asked for.
  • Port 80 still matters: it redirects http to https, and the Let's Encrypt HTTP-01 challenge needs it open to issue or renew a certificate.

Test it and open it

Check the connection and the certificate

curl -vI https://example.com
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -dates -subject

Open the port and listen with TLS

sudo ufw allow 443/tcp
sudo ufw allow 443/udp   # only for HTTP/3
# nginx
listen 443 ssl;
ssl_certificate     /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;

Errors you will meet

MessageWhat it usually means
ERR_CONNECTION_REFUSEDNothing listens on 443 of that host: the web server is down or has no https block.
ERR_CERT_DATE_INVALIDThe connection works but the certificate expired (or your computer's clock is wrong).
ERR_CERT_COMMON_NAME_INVALIDThe certificate is for another name than the one in the address, or the server has no certificate for that host.

Keep it safe

  • Offer TLS 1.2 and 1.3 only; turn off TLS 1.0 and 1.1 and old ciphers.
  • Send Strict-Transport-Security once the whole site works on https, so browsers stop trying http.
  • Open UDP 443 in the firewall too if you serve HTTP/3; without it browsers quietly fall back to TCP.

Neighbours in the same category

Other web ports in the lookup tool:

PortProtocolServiceSource
443TCP/UDPHTTPS, HTTP/3IANA registry
80TCPHTTPIANA registry
3128TCPSquid proxyUsual default of the product
8080TCPHTTP alternateIANA registry
8443TCPHTTPS alternateIANA registry

Look up another port

  1. Type a port number (443), a range (8000-8100) or a word (database) in the search box.
  2. Filter by protocol (TCP or UDP) or by category with the buttons above the table.
  3. Copy a line, or print the table as a one-page reference.

Frequently asked questions

Is port 443 TCP or UDP?

Both. TCP carries HTTPS over HTTP/1.1 and HTTP/2; UDP carries HTTP/3 (QUIC). The lookup list shows TCP/UDP for this reason.

What is the difference between port 80 and 443?

80 is plain HTTP, readable by anyone on the path; 443 is HTTP inside TLS, encrypted and authenticated by the certificate. Serve content on 443 and use 80 only to redirect.

Can I run HTTPS on another port?

Yes, such as 8443 for tests; the address then needs the port (https://host:8443). For public sites keep 443 so that nobody has to type it.

Report a problem