Closed ghost closed 4 years ago
你的网络是独立IP还是内网IP?如果是电信的内网IP的话,就可能和我一样,宽带的TCP连接数被限制了,我这儿最大是2000,超过2000就再也上不去了。用服务器跑试试吧。
我问电信要了公网IP,也是这样。在macOS上试了下还能监听几个,在windows上直接就一直在刷屏。我在想会不会跟系统也有关系。我先去试下服务器跑吧,谢谢大佬了
hhh多谢大佬 这个问题我是没有头绪的233
@TheWanderingCoel 你用的什么路由器 是否可以看连接数
如果不能的话 另开个cmd窗口 重复执行netstat -ant|find /C /I "TCP"
查看连接数大概多少的时候会超时
这个问题我解决了
换了路由器的固件 hhhh
还有你可以不要连路由器 直接连光猫试试。
之前最多4000左右就会超时
我的是华为的路由器,应该看不了,我试试开命令行看下连接数。
C:\Windows\system32>netstat -ant|find /C /I "TCP"
210
连续并没有看到连接数的增长,反而在错误过后接收到房间。
[2019-12-25 17:37:21] [ 修正 0 ]: 重现request
[2019-12-25 17:37:21] Error: connect ETIMEDOUT 58.222.35.205:80
[2019-12-25 17:37:21] [ 修正 0 ]: 重现request
[2019-12-25 17:37:21] Error: connect ETIMEDOUT 58.222.35.205:80
[2019-12-25 17:37:21] [ 修正 0 ]: 重现request
[2019-12-25 17:37:21] Error: connect ETIMEDOUT 58.222.35.205:80
[2019-12-25 17:37:21] [ 修正 0 ]: 重现request
[2019-12-25 17:37:21] Error: connect ETIMEDOUT 58.222.35.205:80
[2019-12-25 17:37:21] [ 修正 0 ]: 重现request
[2019-12-25 17:37:30] Received 5181 dynamic rooms
[2019-12-25 17:37:31] 1794977 @765293 guard 提督
[2019-12-25 17:37:40] 1794984 @1602540 guard 舰长
[2019-12-25 17:38:30] 1794985 @21536060 guard 舰长
[2019-12-25 17:38:30] 1794975 @21536060 guard 舰长
那不应该啊 这个问题基本就是连接数限制了 应该会涨到固定的 才会超时
啥运营商
另外路由器会有连接数限制 你看看能不能改 运营商电信我昨天问过他们说没有限制
我是电信的,路由器是华为荣耀,没有可以设置的地方。很奇怪的就是报错的时候TCP连接一直没有增长,等到错误完收到Received xxxx dynamic rooms才开始增长,会不会和连接数有没有关系?
我之前就是你这个情况 或许你可以试试直连光猫
我之前就是你这个情况 或许你可以试试直连光猫
好的,我试一下,谢谢大佬。
诶 这个解决了吗 这么快就关了2333
点错了=。=
嗯... 最近得出的结论是只有Linux才带得动过万的连接 解决方法找不到2333
使用
node .\src\main.js
运行几十秒中后疯狂出现,无奈只好关掉了程序。请问下大佬这个是什么问题?尝试关闭windows防火墙并没有作用,IP可以ping通。