Phenomenon:
reason:
Windows itself provides port access mechanism.
Windows provides TCP/IP link ports of 1024 ~ 5000, and it takes 4 minutes to recycle these ports. At this time, if we run a large number of requests in a short time, the ports will be full.
Solution:
win + r Enter regedit to open the registry Find the following path
Computer_ LOCAL_ MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Right click parameters to create a new DWORD The name is maxuserport The value is 65534 (maximum 65535, set 65534 to prevent all ports from being occupied)
Right click parameters to create a new DWORD The name is TCPTimedWaitDelay Value is 30 (default unit is seconds)