Skip to content

Unable to connect to Instance

0

Hi,

We have a Windows Server 2019 Instance that has been running OK up until a crash today. I have tried rebooting the Instance and Stopping/Starting but I cannot connect to it now at all, although it says Running. I have tried both windows RDP, which just says Initiating Connection then gives the below error - Windows Error

And I have tried the web RDP from the lightsail console, which brings up this error - Web RDP Error

And below Is the instance showing that it is running. Instance Running

Any help/tips would be most appreciated as I am not sure how to fix this other than starting up a brand new instance, which is not ideal

asked 2 years ago239 views

1 Answer
0

Based on the information provided, it appears you're experiencing connectivity issues with your Windows Server 2019 instance in Amazon Lightsail. Here are some troubleshooting steps you can try:

  1. Check the instance's status checks: While your instance shows as "Running", it's important to verify if all status checks are passing. If you see "1/2 checks passed" in the status check field, this indicates an internal health issue with the instance.

  2. Review security group settings: Ensure that your security group allows inbound traffic on port 3389 for RDP connections. Sometimes security group rules can be inadvertently changed, blocking RDP access.

  3. Verify network settings: Confirm that your instance is in a public subnet with an associated internet gateway and has a public IP address assigned.

  4. Examine system logs: Use the Lightsail console to view the instance's system logs. These logs may provide insights into why the instance is not accepting RDP connections.

  5. Try alternative connection methods: If the browser-based RDP client in the Lightsail console is not working, attempt to connect using a standalone RDP client like the Remote Desktop Connection application on Windows.

  6. Disable Network Level Authentication (NLA): If possible, try to disable NLA on the instance. This can sometimes resolve RDP connection issues.

  7. Check the Remote Desktop service: Verify that the Remote Desktop service (TermService) is running and set to start automatically on the instance.

  8. Reset the instance password: If you're unable to connect due to authentication issues, you may need to reset the administrator password for the instance.

If none of these steps resolve the issue, you may need to consider more advanced troubleshooting methods or, as a last resort, create a new instance and restore from a recent backup or snapshot. Remember to regularly back up your instances to minimize data loss in situations like this.
Sources
Troubleshoot issues connecting to your Amazon EC2 Windows instance - Amazon Elastic Compute Cloud
Connect to a Windows Server Amazon EC2 instance created from a Lightsail snapshot - Amazon Lightsail
Connect to your Lightsail Windows instance using RDP - Amazon Lightsail
My instance is running but can't to connect. | AWS re:Post

answered 2 years ago

AWS
SUPPORT ENGINEER

reviewed 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.