Port reference › Web
Port 443 · HTTPS
TLS-encrypted web, HTTP/3
TCP/UDP Web Exposure risk: Low
What is port 443 used for?
The standard encrypted web port. TCP 443 carries HTTP/1.1 and HTTP/2; UDP 443 carries HTTP/3 (QUIC). Blocking UDP 443 forces browsers back to slower TCP.
Well-known port (0-1023): opening it on Linux needs root (or CAP_NET_BIND_SERVICE).
Security notes
The risk is in the web application, not the port. Allow TLS 1.2+ only and monitor certificate expiry.
Allow port 443 through the firewall
This port is generally fine to expose publicly.
sudo ufw allow 443/tcp
sudo ufw allow 443/udp
sudo ufw status sudo firewall-cmd --permanent --add-port=443/tcp
sudo firewall-cmd --permanent --add-port=443/udp
sudo firewall-cmd --reload sudo iptables -A INPUT -p tcp --dport 443 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 443 -j ACCEPT New-NetFirewallRule -DisplayName "Allow TCP 443" -Direction Inbound -Protocol TCP -LocalPort 443 -Action Allow
New-NetFirewallRule -DisplayName "Allow UDP 443" -Direction Inbound -Protocol UDP -LocalPort 443 -Action Allow # Replace sg-0123456789abcdef0 with your security group ID
aws ec2 authorize-security-group-ingress --group-id sg-0123456789abcdef0 --protocol tcp --port 443 --cidr 0.0.0.0/0
aws ec2 authorize-security-group-ingress --group-id sg-0123456789abcdef0 --protocol udp --port 443 --cidr 0.0.0.0/0 Check whether port 443 is open
sudo ss -tulpn | grep ':443 ' netstat -ano | findstr :443 nc -zv SERVER 443
# Windows
Test-NetConnection SERVER -Port 443 sudo lsof -i :443 Ports used together
- 80 HTTP · Unencrypted web
- 8443 HTTPS alternate · Admin consoles, Tomcat HTTPS