By default, Remote Desktop’s port is set to 3389. If you wish to change it to some other port for whatever reason you have, you can do so with the easiest way changing the registry value using a Windows program called RegEdit which modifies registry name=pair values.
Follow these steps.
- click START > RUN > type regedit and the regedit program opens up.
- navigate to each key starting from
- double click the PortNumber key, and choose the decimal radio button to reveal the value set by default as 3389.
- change to whatever port number you wish
When connecting remotely using the Remote Desktop Client with the changed port, you can just add a colon + the port number after the domain or IP address.
The client connets to the IP address 192.168.8.XXX with port number 1234.