How to Find the Port Number of the Remote Host
Although the default port number for theRemote Desktop Connection software is3389, that port can be changed editing aspecific key in the Windows registry. If youwant to figure out what port number acomputer is using for incoming remotedesktop connections, you need to log in tothat computer locally, open the RegistryEditor and look at the key that sets up thatport for use in the computer.
1. Log in to the computer that hosts the remote connection.
2. Click "Start" and then type "regedit" into the search box on the Start menu.
3. Go to "HKEY _LOCAL_MACHINE\SY STEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp" in the registry.
4. Note the value for the "PortNumber" registry key; this is the port of the remote host onthe computer.