SMS.3806 The Connection to the Port 22 of Target Server Was Rejected
During a migration, an SSH connection must be established between the source server and the target server. This message is displayed when OpenSSH reports the error "connect refused", which means the connection to the target server's IP address is rejected. 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
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.