SMS.3805 The Connection to the Port 22 of Target Server Timed Out
During a migration, an SSH connection must be established between the source server and the target server. This error message is displayed when OpenSSH reports the error "connect timeout", indicating that the SSH connection times out. As a result, the source server cannot connect to the IP address of the target server. The possible causes and solutions are:
- Check whether the security groups, firewalls, and ACL rules allow the source server to access the target server with the IP address.
Check whether the connection is disallowed by any security groups, firewalls, or ACL rules on the network between the source and target servers. If it is, modify their settings to allow the source server to access the target server and retry the migration task.
- Check the network connectivity between the source and target servers. If a private network is used, check whether the source and target servers are in the same network range.
Use SSH or Telnet to test the network connectivity between the source and target servers. If the connection fails, check the network and firewall settings.
The commands are in the following format:
- telnet <target-server-IP-address> <port>
- ssh <target-server-IP-address> <port>
For example, if the target server's IP address is 192.168.0.x and port 22 is used, run either of the following commands:telnet 192.168.0.x 22
ssh 192.168.0.x 22
- Check whether the target server is stopped.
- Sign in to the console.
- On the Elastic Cloud Server page, check the ECS (target server) status. If the ECS is stopped, choose More > Start in the Operation column.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.