Hello ,
Initially the Unreachable error may indicate some network issue, but it can also be related to AD trust relationships or certificates. A failure on those could stop the connection before even reaches the server. You can check those with next steps:
- Test the connection first, using Powershell, as it may give you more details. From the client, run:
Test-Connection -ComputerName ServerName
(Replace "ServerName" with the name or IP address of the other RD Gateway server.)
- Check you firewall setting is enabled:
Check with: Get-NetFirewallRule -Name RemoteDesktop-UserMode-In-TCP | Format-Table Name,Enabled
If is not enabled, enable it using: Enable-NetFirewallRule -Name RemoteDesktop-UserMode-In-TCP
- Check the RD certificate on the Gateway servers:
To check the SSL certificate on an RD Gateway server, you can use the following PowerShell command:
Get-ChildItem -Path Cert:\LocalMachine\My
(This command lists the certificates in the "Personal" certificate store. Look for the certificate that is bound to the RD Gateway service.)
You can also check the certificate thumbprint, issuer, and other details by running:
(Get-ChildItem -Path Cert:\LocalMachine\My | Where-Object { $_.Subject -like "RD Gateway" }).Thumbprint
- To ensure that both RD Gateway servers trust the same root certificate authority (CA), you can check the list of trusted root CAs on each server. Here's how you can do it:
List trusted root CAs on the local machine
Get-ChildItem -Path Cert:\LocalMachine\Root
Export the list of trusted root CAs to a file for comparison
Get-ChildItem -Path Cert:\LocalMachine\Root | Export-Csv -Path "C:\TrustedRootCAs.csv" -NoTypeInformation
--If the reply is helpful, please Upvote and Accept as answer--