Skip to content
Log In Sign Up info@muvcloud.com

What Port 443 Is

Port 443 is the standard TCP port for HTTPS. When you open an address that starts with https:// and has no port number, the browser connects to port 443 on the server. Web servers such as Nginx and Apache, reverse proxies, and most APIs listen on it. The number itself gives no protection: the encryption comes from TLS and the certificate the server presents. The other well-known numbers are listed in common port numbers.

TCP 443 and UDP 443

HTTPS over HTTP/1.1 and HTTP/2 runs on TCP port 443. HTTP/3 runs on QUIC, which uses UDP, also on port 443. A browser first connects over TCP, learns from the Alt-Svc response header that the server offers HTTP/3, and then tries UDP 443. If UDP 443 is closed, the browser stays on TCP and the site still works. Open UDP 443 only when your web server is configured for HTTP/3; the problems of a half-finished setup are in ERR_QUIC_PROTOCOL_ERROR.

See What Listens on Port 443

sudo ss -ltnp 'sport = :443'
sudo ss -lunp 'sport = :443'

The first command lists TCP listeners, the second UDP. The process column names the program, for example nginx or httpd. A local address of 0.0.0.0, [::], or * means all addresses; 127.0.0.1 means local connections only. No line means nothing listens, and no firewall rule will make the port answer. More ways to list ports are in how to check open ports in Linux.

Before You Change the Firewall

If you work over SSH, a firewall mistake can cut you off. Allow SSH first, keep your current session open, and log in from a second terminal before you close the first one. If SSH runs on a custom port, allow that port instead of 22. Know how to open the server console in your provider's control panel.

Open Port 443 in UFW

On Ubuntu and Debian:

sudo ufw allow 22/tcp
sudo ufw allow 443/tcp
sudo ufw allow 443/udp
sudo ufw status verbose

Leave out the UDP line if you do not serve HTTP/3. If UFW was inactive, turn it on only after the SSH rule exists, with sudo ufw enable. More rule forms are in UFW allow port.

Open Port 443 in firewalld

On AlmaLinux and Rocky Linux:

sudo firewall-cmd --list-all
sudo firewall-cmd --permanent --add-service=https
sudo firewall-cmd --permanent --add-port=443/udp
sudo firewall-cmd --reload

Check in the first output that ssh is among the allowed services before you change anything. The https service covers TCP 443; the second rule adds UDP for HTTP/3. Rules for a single source address are shown in how to use firewalld. If your provider runs a network firewall in front of the server, open the port there as well.

Test Port 443 from Outside

Run these from another machine, against a server you administer:

curl -I https://example.com/
openssl s_client -connect example.com:443 -servername example.com </dev/null

curl prints the HTTP status line once TLS works. openssl s_client shows the certificate chain and the TLS version, which helps when the port answers but browsers complain; see openssl s_client. A timeout points to a firewall that drops packets. "Connection refused" means the packets arrived but nothing listens. If your curl build supports HTTP/3, curl --http3 -I https://example.com/ tests UDP 443.

Port 443 vs Port 80

Port 80Port 443
ProtocolHTTPHTTPS
EncryptionNoneTLS
CertificateNot usedRequired
HTTP/2 in browsersNoYes

Most sites keep both open: port 80 only to redirect visitors to 443 and to answer certificate checks. See port 80 and HTTP vs HTTPS.

Updated:

Linux VPS with Full Root Access

MUVCloud cloud servers run on KVM with Enterprise NVMe SSD storage and full root access, in Turkey, the Netherlands, and the USA.

Cloud VPS Plans Starting at2.99 $/mo Cheap Linux VPS

No Limits on Service or Support

You are not on your own as your projects grow. Our support engineers are ready 24/7, on several channels, whenever you need them.

Support specialist
  • 100% customer satisfaction goal
  • Our own hardware
  • 24/7 ticket and email support
  • 4 countries with locations