Telnet to a cloud instance from outside

2019-08-09 04:04发布

问题:

I have a cloud MS window instance on EC2. I want to telnet this instance from my own machine (outside).

What I did: 1- turned off the MS firewall 2- turned on the telnet client and telnet service in the instance..

Now from my machine, if the public ip address for the cloud instance is 80.8.8.9. then, on the the cmd terminal from outside. I wrote telnet 80.8.8.9 where It said that the connection is failed.

What I am missing, what is the wrong thing I did..

回答1:

Make sure you go to AWS management console/EC2/Security Groups/[Your Security Group]/Inbound and open telnet port (23) to your own machine network.