libuv / help

Need help with libuv? Post your question here.
28 stars 7 forks source link

Hello, my friends, about the number of Windows connections? #186

Open 0xdddddddd opened 3 years ago

0xdddddddd commented 3 years ago

The problem I have encountered is that the maximum number of connections for a single Windows application is only 16000+, after which new clients will not be accepted.

Has anyone encountered the same problem as me?

As I said, when I test the official example, there will be only 16000+ client connections.

bnoordhuis commented 3 years ago

There are a number of registry settings that affect the maximum number of TCP connections, see e.g. https://deploymentresearch.com/fix-for-windows-10-exhausted-pool-of-tcpip-ports/

It's possible different Windows editions have different limits.