Web服务器不允许超过4个连接 [英] Web server won't allow more than 4 connections

查看:254
本文介绍了Web服务器不允许超过4个连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Angular前端运行WEB.API后端,使用SignalR(2.2.0)几乎不变的数据更改。

I am running WEB.API backend with Angular front end, using SignalR (2.2.0) with almost constant data changes.

我的问题是我能够仅连接4个客户端,第5个客户端无法连接。它将加载所有网页数据,但SignalR将无法连接。一旦我将4个已连接的客户端中的一个断开
,第5个就会连接没有问题。

My problem is that I am able to connect only 4 clients, 5th client would not connect. It will load all web page data, but SignalR won't connect. As soon as I disconnt one of the 4 already connected clients, the 5th one would connect with not problems.

这是在带有IIS 8.5的Windows 8.1上运行的在单独的LAN上。

This is running on Windows 8.1 with IIS 8.5 on separate LAN.

IIS设置是默认设置。我应该从哪里开始寻求解决这个问题?

IIS settings is default. Where shall I start looking to solve this?

谢谢。

更新:除了以下链接提供通过@thab,这是另一个在每个Windows版本的IIS中具有连接限制的限制: http://jpelectron.com/sample/WWW%20and%20HTML/IIS-%20OS%20Version%20Limits.htm

update: in addition to below link provide by @thab, here is another one with concurent connection limits in IIS per Windows version: http://jpelectron.com/sample/WWW%20and%20HTML/IIS-%20OS%20Version%20Limits.htm

推荐答案

我认为这是因为您使用的是Windows 8.1 - IIS在非服务器版本的Windows上支持的并发连接数有限制:

I think it's because you're using Windows 8.1 - there's a limit to the number of simultaneous connections that IIS supports on non-server versions of Windows:

http:// weblogs。 asp.net/owscott/windows-8-iis-8-concurrent-requests-limit

问题与SignalR如何持有持久连接有关(无论是永远帧,服务器发送事件或Web套接字),如果限制是10个连接,t如果您只能一次在线获得一些用户...

The problem relates to how SignalR holds a persistent connection (whether Forever Frames, Server Sent Events or Web Sockets) and if the limit is 10 connections, then you'll only be able to get a few users online at once...

这篇关于Web服务器不允许超过4个连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆