HTTP is a fundamental communication standard for transferring data over the internet. When you send an HTTP request to a website, your browser or web application initiates a connection with the server using a port number. However, in certain situations, it's possible that this plain HTTP request was sent to an HTTPS port instead of the intended HTTPS port.
So why might this happen? There are several reasons why your plain HTTP request might be sent to an HTTPS port instead of the intended HTTPS port. One possibility is that the server-side application or framework you're using, such as PHP or Python, doesn't explicitly specify whether it should use HTTPS or not.
Fortunately, there are ways to troubleshoot this issue. One approach is to add an 's' to the protocol name of your HTTP request (e.g., 'https://example.com/path?query=param') and see if it redirects you to the intended HTTPS port. You can also use online tools or debugging techniques to inspect the traffic flow between your browser and server.
By understanding how HTTP protocol issues and vulnerabilities can arise, you'll be better equipped to protect yourself from potential security threats. Remember to always use the 's' when specifying a secure connection – your server's safety is worth it!
Source: https://conferences.law.stanford.edu/ipsummerschool2022/2018/09/12/hello-world