When you access a website using HTTPS (secure HTTP), the browser connects to port 443 on the server. This is the standard port for HTTPS traffic, which uses SSL/TLS encryption to secure communications. Port 80 is for unencrypted HTTP, port 21 is for FTP, and port 139 is for NetBIOS file sharing.