Hello,
The most basic test to confirm if the issue is networking, is by logging to the server (console session) and trying to RDP to the localhost.
If you don’t get the error message using this method, then that means the issue is networking. Ensure port 3389 is open.
If the error is the same, then the issue is on the Server.
if those Server 2022 instances are Azure VMs, then this test cannot be applied.
Next:
- Check if the RDP Listener is working : run the
qwinsta
command. If rdp-tcp is visible, the RDP listener is working. - Chek if RDP Port was modified: Open the registry on path
KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Winstations\Rdp-Tcp
and look for a key named "PortNumber" and ensure the port is 3389 - Check if Remote Desktop Self-signed certificate is expired or inexistent:
You can also follow this step-by-step guide to fix the connection issue: General Remote Desktop connection troubleshooting - Windows Server | Microsoft Learn
I hope this information helps.
Best regards,
Karlie