Search code examples
amazon-web-servicesamazon-ec2password-protectionrdp

Remote desktop connection to ec2 instance


I have created a new free-tier windows 2019 EC2 instance in my default VPC, the new EC2 has a public IP, and the security group allows the traffic from anywhere and the RDP protocol is already configured to be ready on port 3389.

I have spent two days now with no luck connecting to this instance from windows remote desktop.

I have tried to ping the ec2 from my machine but no luck.

telnet from my machine to the ec2 working perfectly. I have disabled the windows firewall.

remote desktop sometimes asks me to enter the password and sometimes doesn't ask at all.

**** when I changed my wifi network, I do the remote desktop connection and I can access the ec2 instance.

Any help in this.


Solution

  • I had the same issue as you have. In my case, The internet service provider blocked the SSH connection(PORT). though our security group allows to all we can't connect our instance.

    Take this to them and get it fixed:).