Current location - Quotes Website - Team slogan - What port number is used for mobile phone WeChat communication?
What port number is used for mobile phone WeChat communication?
Mobile phone WeChat analysis results:

1. Use port numbers 80 and 8080 for login and interaction.

2. Use: tcp 14000? Port? Send a voice file.

1, port number function: We know that a host with an IP address can provide many services, such as Web services, FTP services, SMTP services and so on. These services can be completely realized through 1 IP address. So, how does the host distinguish different network services? Obviously, you can't just rely on ip addresses, because IP addresses and network services have a one-to-many relationship. In fact, different services are distinguished by "IP address+port number".

2. Use of port numbers: The port addresses in TCP and UDP segment structures are all 16 bits, and there can be port numbers in the range of 0-65535. For these 65536 port numbers, there are the following usage rules:

(1) Port numbers less than 256 are defined as public ports, and servers are generally identified by public port numbers. Services provided by any TCP/IP implementation use port numbers between 1- 1023, which are managed by ICANN;

(2) The client only needs to ensure that the port number is unique on this machine. Customer port number is also called temporary port number because of its short existence time;

(3) Most TCP/IP implementations allocate temporary port numbers between 1024-5000. Port numbers greater than 5000 are reserved for other servers.