title: How does web browser know about what connection to open, HTTP or HTTPs?
body: <p>After clearing the browser cache, cookies and web related data. I simply typed Gmail.com in the URL field of the web browser and I captured the packets in wireshark.</p>
  
  <p>I found that the web browser initiated the request for Gmail.com with dest. port as 443 (HTTPS). </p>
  
  <p>I want to know how the web browser got to know that the web site has to be opened in HTTPS mode. I thought it will be sending the request first to port 80 (HTTP) and then there will be some sort of redirect or another handshake.</p>