Message Code 【27796】 Failed to connect to server 'hostname';port_ld': 'reason'.
Unable to connect to the specified server and port.

-------- Troubleshooting-----------------------------------
o      Try to address the reason provided for the connection failure.
o      Try to access the application with a browser from the injector machine and from another machine (such as the recording machine).
o      Check that you accurately specified the correct host name and port.
o      Ping the host/port.
o      Check if the server application you are trying to access is running.
o      If you used a hostname, check if it was resolved to the correct address.
o      Check if the server application is listening to the right port.
 
--------- 经验-----------------------------------------------------------------------------------------------------------------
    如果负载生成器的性能好,发数据包特别快,服务器也响应特别快,可能导致负载生成器的机器的端口在没有timeout 之前就全部占满了。在全部占满后,就会出现上面的错误。执行netstat –na命令,可以看到打开了很多端口。所以调整TCP的time out。即在最后一个端口还没有用到时,前面已经有端口在释放了。
    解决:负载生成器的注册表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters,修改如下两个键值:
   1.TcpTimedWaitDelay :默认值30s,把这个值调小为5s(按需调整)。
   2.MaxUserPort :如果这个值不是最大值的话,调大。
TcpTimedWaitDelay 
确定 TCP/IP 可释放已关闭连接并重用其资源前,必须经过的时间。关闭和释放之间的此时间间隔通称 TIME_WAIT 状态或两倍最大段生命周期(2MSL)状态。此时间期间,重新打开到客户机和服务器的连接的成本少于建立新连接。减少此条目的值允许 TCP/IP 更快地释放已关闭的连接,为新连接提供更多资源。如果运行的应用程序需要快速释放和创建新连接,而且由于 TIME_WAIT 中存在很多连接,导致低吞吐量,则调整此参数。
设置:
使用 regedit 命令访问 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\TCPIP\Parameters 注册表子键
创建名为 TcpTimedWaitDelay 的新 REG_DWORD 值。 
缺省值:0xF0,它将等待时间设置为 240 秒(4 分钟)。建议值:最小值为 0x1E(十六进制 0x0000001e),它将等待时间设置为 30 秒。 
停止并重新启动系统。
MaxUserPort
确定在应用程序从系统请求可用用户端口时,TCP/IP 可指定的最高端口号。如发生错误异常,可能是匿名(短期)端口的数量不当造成,当系统开启大量端口来建立web 服务、资料库或其它远程资源连接时,尤其如此。
设置:
使用 regedit 命令访问 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\TCPIP\Parameters 注册表子键
创建名为 MaxUserPort 的新 REG_DWORD 值。
缺省值:无
建议值:至少十进制 32768。
停止并重新启动系统。
注:当在 Windows NT 或 Windows 2000 操作系统上调整 WebSphere Application Server 时,同时使用这两个参数。

Message Code 【27796】 Failed to connect to server 'hostname';port_ld': 'reason'.相关推荐

  1. 【GitHub】Failed to connect to github.com port 443 的一种解决方案

    文章目录 0. 前言 1. 问题描述 2. 解决方案 2.1 问问GPT 2.2 搜一搜 2.3 结合自身实际 Failed to connect to github.com port 443 的一种 ...

  2. 【mongodb】couldn't connect to server 127.0.0.1:27017 (127.0.0.1)

    couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed at src/mongo/shell ...

  3. 【TDengine】解决 failed to connect to server, reason: Mnode not found

    目录 1.遇到问题 2.问题解决 1.遇到问题 failed to connect to server, reason: Mnode not found 2.问题解决 删除原先相关文件,重新安装: r ...

  4. Error -27796: Failed to connect to server ip地址: [10060] Connection timed out

    如果出现Error -27796: Failed to connect to server "ip地址": [10060] Connection timed out 这样的错误,如 ...

  5. Php错误邮件提示linux,linux下phpmailer发送邮件出现SMTP ERROR: Failed to connect to server: (0)错误...

    在作项目的过程当中,后期客户提出了发送邮件的需求,既然客户有需求,那么没啥说的,上呗.php 通过网上的通常资料查找,PHPMailer这个插件貌似用起来不错,那就从github clone一份下来, ...

  6. LoadRunner Error -27792: Failed to connect to server

    用Google打开,replay的时候报错 Action.c(74): Error -27792: Failed to connect to server "accounts.google. ...

  7. unable to connect to mks:Failed to connect to server XXXXXX:902

    问题描述: 在vClient中打开虚拟机控制台时提示,Unable to connect to the MKS : Failed to connect to server XXXXXX:902:此时无 ...

  8. failed to connect to server /xx.xx.xx.xx:20880 client-side timeout问题分析并解决

    一次离奇的排查dubbo服务问题之旅. 首先是开启服务提供者,正常启动,后来启动服务调用者,总是报错.错误如下: 2018-06-04 11:17:24,956(7063 ms)[WARN ][Dub ...

  9. 【SpringCloud】 failed to req API:/nacos/v1/ns/instance after all servers code:500 msg Read timed out

    1.概述 在博客 [SpringCloud]Spring cloud Alibaba Nacos 集群和持久化配置 我本地搭建了一个集群,但是太费内存了,然后最后一步注册,没有成功,猜测是因为naco ...

  10. 【已解决】Failed to connect to github.com port 443 : Timed out

    Failed to connect to github.com port 443 : Timed out 问题描述: 如下图所示,无法git clone 来自Github上的仓库,报端口443错误 问 ...

最新文章

  1. icinga安装介绍,监控软件
  2. linux多线程计算pi代码,中值积分定理计算PI值的多线程实现
  3. double 导出txt保留两位_使用Jade“精修”XRD图谱并导出数据
  4. 一个C语言小程序,有10几个命令和MSDOS一样哦:)
  5. Django--form验证及错误处理
  6. 你敢面对这样的现实吗?
  7. 【Elasticsearch】基于儿童积木玩具图解 Elasticsearch 聚合
  8. 即使在微软 Azure 上,Linux 也大有一统天下之势!
  9. x61 linux 驱动 无线网卡,联想ThinkPad X61无线网卡驱动
  10. 10个最新交互式Web设计实例欣赏
  11. Spire.Office for Java 7.10.FIX[7.9.9]-全新版
  12. 基于Java毕业设计在线装机报价系统源码+系统+mysql+lw文档+部署软件
  13. mybatis获取map中的key和value
  14. position的五种方式
  15. python 切割图_python切割图片的示例
  16. android电脑手柄游戏平台,玩转PC、安卓TV、Stam平台等多平台的游戏手柄——北通斯巴达2...
  17. 成都web前端前景怎么样
  18. jQuery操作元素和DOM
  19. java mysql选择题_MySQL选择填空基础题
  20. XXTea算法Java版

热门文章

  1. paip.论程序断点的类型以及设置总结
  2. 银监会再出新规!银行数据治理与监管评级挂钩
  3. 【电力负荷预测】基于matlab EEMD+IWOA+LSSVM电力负荷预测【含Matlab源码 1810期】
  4. 【图像隐写】基于matlab FFT数字水印嵌入【含Matlab源码 1670期】
  5. 【图像修复】基于matlab GUI三维图像复原【含Matlab源码 963期】
  6. 【图像隐写】基于matlab DCT数字水印添加+提取+干扰【含Matlab源码 803期】
  7. 【跌倒检测】基于matlab中值滤波+二值化跌倒检测【含Matlab源码 344期】
  8. 10寸 nuc972_新唐ARM9之NUC972学习历程之系统的搭建和BSP包的使用
  9. c语言定积分的基本思想_积分的计算方法、技巧、思路总结~
  10. java多线程写数据到数据库6_java多线程向数据库写入数据