What Should I Do If the Connection Times Out Occasionally During a Deployment on a Windows Host?
Symptoms
During a deployment on a Windows host, the "Connection to ***.***.***.** timed out." message is occasionally displayed.
Cause Analysis
Possible cause:
During TCP connect scan, the port is occupied and is not released in time.
Solution
- Press Win+R to open the Run window, enter regedit to open the Registry Editor window, and locate the following path:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
- In the right pane, find the DWORD value of TcpTimedWaitDelay. Create one if it does not exist.
- Change the value of TcpTimedWaitDelay to a required value (in milliseconds). For example, set the TcpTimedWaitDelay value to 1 minute (60,000 milliseconds).
- Restart the PC to validate the configuration.
Changing the value of TcpTimedWaitDelay may affect network performance and security. Make the change based on your service requirements. For multiple target Windows hosts in the same environment, batch deployment is recommended to avoid unknown impact caused by changing the value of TcpTimedWaitDelay.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot