Hi ,
Based on my test, we can change the listening port for Remote Desktop.
To change the port that Remote Desktop listens on, follow these steps.
1.Start Registry Editor.
2.Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
3.On the Edit menu, click Modify, and then click Decimal.
4.Type the new port number, and then click OK.
5.Quit Registry Editor.
6.Restart the computer.
Meanwhile, please note, please type the new integer port number between 1025 and 65535 in the PortNumber text box.
And make sure the new port number is not in use by other application.
We may use the command below to check the result.
netstat -a
Also, we can use Network Monitor to trace the port.
Microsoft Network Monitor 3.4
http://www.microsoft.com/en-in/download/details.aspx?id=4865
Regards,
You must add a custom inbound rule to allow the port through the windows firewall
On Windows 8.1 pro (and probably most windows 8+ machines)
- visit Control Panel\System and Security\Windows Firewall
- Select advanced settings on the left.
- Select inbound rules on the left.
- go to action -> new rule
- select port and next
- select tcp and under specify port your custom rdp port.
- Finished.