How to Change the Listening Port for Remote Desktop
Microsoft has a Knowledge Base article KB306759 that details how to modify and change the Remote Desktop listening port by changing registry value.
Start Registry Editor by clicking on Start -> Run, and type in regedit in the Run text box, and then press Enter or click OK.
- Navigate to the following registry branch/subkey:HKEY_LOCAL_MACHINE\System\CurrentControlSet\
- Locate the registry entry PortNumber in the right pane.
Right click on PortNumber and choose Modify (or select PortNumber, then click on Edit menu and select Modify).
On the Edit DWORD Value window, click on Decimal.
- Type in the new port number on the Value Data text box.
- Click OK when done.