Understanding the Relationship Between TCP, Sockets, and HTTP

Understanding the Relationship Between TCP, Sockets, and HTTP

Recently, I needed to implement an HTTP interface for a project. So, I took this opportunity to explain the relationship between HTTP and sockets, as well as their connection to TCP. First, it’s essential to understand that in the network layer architecture, the HTTP protocol belongs to the application layer, while the TCP protocol belongs … Read more

Common Default Port Numbers for HTTP, HTTPS, and More

Common Default Port Numbers for HTTP, HTTPS, and More

“Welcome to connect with Miss Heart Moon to learn about recent class opening” ⑴. Common port numbers for HTTP protocol proxy servers: 80/8080/3128/8081/9080⑵. Common port number for SOCKS protocol proxy servers: 1080⑶. Common port number for FTP (File Transfer) protocol proxy servers: 21⑷. Common port for Telnet (remote login) protocol proxy servers: 23 The default … Read more

Understanding HTTP Connection Pools and Their Benefits

Understanding HTTP Connection Pools and Their Benefits

From: May’s Cangjie Cause During the 6.1 major promotion, a problem was discovered during duty hours: an RPC interface showed high response time (RT) during the peak order placement time from 0 to 2 AM (over 1s, even though this interface was optimized, an RT over this value is problematic; typically, even complex logic in … Read more

Why Do Some Websites Start With ‘www’ While Others Start With ‘http://’

Why Do Some Websites Start With 'www' While Others Start With 'http://'

It is thought that www and http:// (https://) are independent, both existing in all URLs. Some websites start with http:// while others start with https://, but the latter may be hidden; you don’t need to input it, and it will appear automatically. Therefore, currently, most people can just enter www to access a website, but … Read more

Understanding HTTP Proxies: Theory and Practice

Understanding HTTP Proxies: Theory and Practice

/ Today’s Tech News / Sam Altman, the CEO of OpenAI, known as the “father of OpenAI”, warned at a Brookings Institution discussion on artificial intelligence and geopolitics that the economic impact of AI may be greatly underestimated. Altman said, “What I am most worried about right now is what kind of changes socioeconomic changes … Read more

4 Solutions for Loading HTTP Resources on HTTPS Pages

4 Solutions for Loading HTTP Resources on HTTPS Pages

Source | https://www.fly63.com Switching to HTTPS may seem like a simple issue of domain pointing, perhaps we just need to redirect HTTP requests to the HTTPS address, and that would complete the switch. However, it’s not that simple. When an HTTPS address loads HTTP resources, the browser considers these resources insecure and will block them … Read more

HTTP 3.0 Completely Abandons TCP: What Went Wrong?

Author l Hollis Source l Hollis (ID: hollischuang) Since HTTP/1.0 and up to HTTP/2, regardless of how the application layer protocol has improved, TCP has always been the foundation of the HTTP protocol mainly because it provides a reliable connection. However, starting from HTTP 3.0, this situation has changed. Because, in the newly released HTTP … Read more

What Did TCP Do Wrong in Abandoning HTTP 3.0?

What Did TCP Do Wrong in Abandoning HTTP 3.0?

Since HTTP/1.0, up to HTTP/2, TCP has always been the foundation of the HTTP protocol, mainly because it provides a reliable connection. However, starting from HTTP 3.0, this situation has changed. Because, in the newly launched HTTP 3.0, the TCP protocol has been completely abandoned. TCP Head-of-Line Blocking We know that during TCP transmission, data … Read more

Key Summary of URL and HTTP Protocols

Key Summary of URL and HTTP Protocols

URL: is a type of URI that identifies an Internet resource and specifies how to operate on or retrieve that resource. It can be identified either through the description of the primary access method or through its “location” on the network. Most URLs follow a standard format that consists of three parts: First part: scheme, … Read more