Hello,
If I understand your issue correctly, are ABC located in three different networks?
Here are a few things to consider:
First verify the port number is changed correctly by using powershell command: Get-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "PortNumber"
Then check if the RDP service on desktop B is listening on the new port (3390) using the command: netstat -ano | findstr :<YourPortNumber> on B.
Perform a telnet test from desktop A to confirm network connectivity to the RDP port on desktop B: telnet <desktop B's IP address> 3390. If the command window stays blank, your remote machine is listening on that port.
The firewall rule on desktop B allows traffic on port 3390 is inbound rule named "Remote Desktop - User Mode (TCP-In)" with the custom port 3390.
If RDP port has been changed then RDP to computer using specified port.
Format: <computer name>:3390, or <desktop B's IP address>:3390
Regards,
Karlie