- Newest
- Most votes
- Most comments
check serurity group allow use RDP 3389 Port inbound; check instance in the public subnet routetable to igw.
Hello,
- Update RDP client: Get the latest version.
- Check firewalls: Allow RDP (port 3389) on both sides (local machine & EC2 instance).
- Disable clipboard sharing (temporary fix): In RDP client settings.
Check this link : https://repost.aws/knowledge-center/troubleshoot-remote-desktop-connection-ec2-windows
If Doesn't find any security group
Verify Network Settings:
- Check Network ACLs to allow inbound/outbound traffic on port 3389.
- Ensure a route to an Internet Gateway exists in the route table.
Connect Using RDP:
- Open your RDP client.
- Enter the public IP of your instance and connect using port 3389.
Validated all the above points but issue is still there. To be clear, I was able to connect to this instance today morning. It got disconnected due to inactivity and after that I havent been able to reconnect.
Hello,
To resolve the issue of not being able to connect to your EC2 instance via RDP, follow these steps:
Check Security Group Rules:
- Ensure that the security group associated with your EC2 instance allows inbound traffic on port 3389 (RDP).
- Go to the EC2 Dashboard, select your instance, click on the Security tab, and then click on the Security Groups.
- Edit the inbound rules to add a rule for RDP (port 3389) if it doesn't already exist.
Verify Network ACLs:
- Ensure that the Network ACLs associated with your subnet allow inbound and outbound traffic on port 3389.
- Go to the VPC Dashboard, select Network ACLs, and check the rules for the subnet your instance is in.
Check Route Table:
- Make sure your instance is in a public subnet and that the route table has a route to an Internet Gateway (IGW).
- Go to the VPC Dashboard, select Route Tables, and verify that there is a route to the IGW.
Update RDP Client:
- Ensure you are using the latest version of the Microsoft RDP client.
Temporary Fix - Disable Clipboard Sharing:
- In the RDP client settings, disable clipboard sharing as it can sometimes cause issues.
Connect Using RDP:
- Open your RDP client.
- Enter the public IP address of your EC2 instance.
- Connect using port 3389.
https://repost.aws/knowledge-center/troubleshoot-remote-desktop-connection-ec2-windows
Validated all the above points but issue is still there. To be clear, I was able to connect to this instance today morning. It got disconnected due to inactivity and after that I havent been able to reconnect.
Thanks everyone for the answers. It seems like it was an intermittent issue with wifi or my laptop. When I changed the wifi and restarted my laptop, it started working and now its working on my original wifi too.
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
have checked both the points but issue is still there.