- Newest
- Most votes
- Most comments
Are you able to connect to your Windows from EC2 console using SSM session manager?
If not, attach IAM role to your EC2 as per Step 1: Complete Session Manager prerequisites
If yes, you can establish in-browser RDP connection from within EC2 console using Fleet Manager Remote Desktop? This method does not require security group changes
Hello.
Has the route to the Internet gateway been added to the route table of the subnet where EC2 is running?
If this route is not added, communication will not be possible even if a public IP address is set on EC2.
https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html
Hello, Thanks for your reply, I doulbe checked, confirm the IGW and relate routing on subnet was configured already, any other possible reason?
Have you checked the network ACL etc.? It is also possible that the Windows OS firewall is blocking the access. If it is blocked by the Windows OS firewall, try fixing it by following the steps in the document below. https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/troubleshoot-connect-windows-instance.html#Troubleshooting-Remote-Desktop-Connection-issues-using-AWS-Systems-Manager
Many thanks for your advice, by use SSM session connect to the Server, and shutdown the windows firewall by command, the server can be connected by RDP now. Thank you!
Relevant content
- Accepted Answerasked 10 months ago
- asked 3 years ago
- asked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
Hello, thank you for your reply, I am tring your suggest way, but still need to solve the issue to access from Internet via RDP.