Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
现在,我做了 1000 个 websocket 连接,服务器是 dotnet core 2.x,
但是,当我连接 256 webosket 实例时,另一个无法连接 dotnet
核心服务器。
谁能告诉我如何配置,非常感谢。
你需要设置
MaxConcurrentUpgradedConnections
.UseKestrel(options => { options.Limits.MaxConcurrentConnections = 100; options.Limits.MaxConcurrentUpgradedConnections = 100; });