網上觀點:html
在註冊表HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters裏,有以下兩個鍵值:
TcpTimedWaitDelay
MaxUserPort
1,這裏的TcpTimedWaitDelay默認值應該中是30s,因此這裏,把這個值調小爲5s(按須要調整)。
2,也能夠把MaxUserPort調大(若是這個值不是最大值的話)。web
實踐:將TcpTimedWaitDelay默認值應該中是30s,因此這裏,把這個值調小爲5s,問題解決。服務器
load runner transaction 提示error:網絡
Action.c(15): Error -27796: Failed to connect to server "10.9.34.101:80": [10061] Connection refusedapp
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.
|