There can be several reasons to use an alternate port for remote terminal server access. Perhaps you have only one public IP address, but need to publish two terminal servers on that address. Perhaps you want to hide the server using a non-standard port so hackers don’t see the terminal server as easily. Whatever the reason, the process if very simple.
This process works for all flavors of Microsoft server from 2000 through 2008, and for every Microsoft client that currently supports remote desktop connections
Edit the registry
Open the registry for the machine you wish to modify
- Find the “PortNumber” subkey, and notice if it has either a hex value of “00000D3D” or the decimal value of “3389”
- Modify the the value to have the decimal equivalent of the port you wish to change Terminal Services to
- If the IP address was 22.214.171.124, and you were changing the port to 3333, then you would enter 126.96.36.199:3333