Welcome to Microsoft Q&A,
Thank you for providing the additional details.
Based on your results, the server can reach external resources and successfully resolve DNS names, which indicates that basic network connectivity and name resolution are functioning correctly. This suggests the issue is likely related to the Remote Desktop configuration or connectivity path rather than the server's IP address settings.
To further troubleshoot the RDP connection on Windows Server 2022, please verify the following:
1.Ensure Remote Desktop is enabled under System Properties > Remote.
2.Confirm that the Remote Desktop Services (TermService) service is running.
3.Verify that the server is listening on the default RDP port (TCP 3389): netstat -ano | find "3389"
4.Confirm that Remote Desktop has not been disabled by policy or registry settings:
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections
The value should be 0, which indicates that Remote Desktop connections are allowed.
5.Verify that Windows Defender Firewall or any network firewall allows inbound RDP traffic on TCP port 3389.
6.Test connectivity to the RDP port from the client machine: Test-NetConnection <ServerIP> -Port 3389
7.If the service is running and port 3389 is reachable, consider temporarily disabling Network Level Authentication (NLA) for testing purposes, as authentication or certificate-related issues can sometimes prevent RDP connections even when network connectivity is healthy.
The most common causes of this behavior are the RDP service not listening correctly, Windows Firewall blocking port 3389, Group Policy restrictions, or NLA/certificate-related issues. Focusing on these areas should help identify and resolve the connection problem.
For further information, please visit:
General Remote Desktop connection troubleshooting - Windows Server | Microsoft Learn
Guidance for troubleshooting RDS session connectivity - Windows Server | Microsoft Learn
I hope this information helps. If this answer is helpful, please consider clicking Accept Answer.
Thank you for using Microsoft Q&A.