Error-27796解决方法
![](https://images2015.cnblogs.com/blog/962675/201610/962675-20161020220933217-235841768.png)
Action.c(9): Error -27796: Failed to connect to server "
Try changing the registry value
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\TcpTimedWaitDelay to 30
and HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\MaxUserPort to 65534
解析:
因为负载生成器的性能太好,发数据包特别快,服务器也响应特别快,从而导致负载生成器的机器的端口在没有timeout之前就全部占满了。在全部占满后,就会出现上面的错误。执行netstat –na命令,可以看到打开了很多端口。所以就调整TCP的time out。即在最后一个端口还没有用到时,前面已经有端口在释放了。
解决方法:
![](https://images2015.cnblogs.com/blog/962675/201610/962675-20161020221145904-833381031.png)