Translate

Wednesday 21 February 2024

 Default ports of http & https ?21

  Default ports of http & https ?


The default ports for HTTP and HTTPS are:

  • HTTP: 80

  • HTTPS: 443

These are commonly known ports, meaning that when a user accesses a website without specifying a port number, the browser automatically assumes these defaults.

However, it's important to note that:

  • You can configure websites to use different ports. This is often done for security reasons (e.g., using port 8443 for HTTPS instead of the standard 443) or to differentiate between multiple websites running on the same server.

  • While these are the most common defaults, specific applications or services might use different ports depending on their specific needs.

For example, if you access a website at https://www.example.com, your browser will automatically connect to port 443 on the server hosting the website. However, if you access a website at https://www.example.com:8443, your browser will connect to port 8443 instead.

It's also worth noting that some firewall configurations might block specific ports, potentially preventing access to websites or services using non-standard ports.


No comments:

Post a Comment

Note: only a member of this blog may post a comment.