How to use Remote Desktop on an alternative Port

By default, Remote Desktop is setup to run under port 3389. You may want to change this port for any reason, I’ve done it to be able to have multiple Remote Desktop connection at home without paying for extra IP addresses.

I’ve tested this successfully on Windows XP, Windows Vista, Windows Seven RC, Windows Server 2003 R2 and Windows Server 2008.

Here’s how to do it on the server:

  1. Open the Registry Editor ( Start » Run » regedit )
  2. Go to
    • HKEY_LOCAL_MACHINE
    • System
    • CurrentControlSet
    • Control
    • TerminalServer
    • WinStations
    • RDP-TCP
    • PortNumber
  3. Rick Click on PortNumber
  4. Select Modify
  5. Change the Base from Hexadecimal to Decimal
  6. Modify the value to whatever port you want (Make sure it is not a reserved port!)

And now on the client:

  • Open Remote Desktop ( Start » Run » mstsc )
  • Type in the address:port ( ex: 64.233.161.104:3388 )

That’s it!

This entry was posted on Wednesday, July 1st, 2009 at 10:09 am and is filed under Server, Windows 7. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “How to use Remote Desktop on an alternative Port”

Pete September 9th, 2009 at 10:28 pm

There is a way to have Windows answer at the default 3389 and add a second listening port. It is my prefered way since you do not have to keep track of the changed ports on every machine.

Here is how to do it:
http://www.sertec.ca/howtos/Remote-Desktop-RDP-3389-Listen-Multiple-Ports.html

Cheers,
Pete

Leave a Reply