Using an alternate port for Terminal Services (RDP)

IT

Using an alternate port for Terminal Services (RDP)

by Jay Valente
//

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

  • Browse to HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp 

  • 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
That’s it. Keep in mind, if using Microsoft Terminal Services Client, or Remote Desktop connection, you’ll need to add a colon after the IP address and before the new port number, so for example:
  • If the IP address was 1.2.3.4, and you were changing the port to 3333, then you would enter 1.2.3.4:3333
Also keep in mind you may need to make firewall changes on both the client and the server depending on your configuration.

 

 

More About the Author

Jay Valente

Solution Architect
Microsoft Surface Pro – One Month Review One Month Using the Microsoft Surface Pro I’ve been testing the Microsoft Surface Pro for about a month. I’ve had many ...
Fried Green Video Cards During a recent troubleshooting stint, a collegue of mine was scratching his head as to why a machine would not seem to boot. We were ...

See more from this author →

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072

×

Love our blog? You should see our emails. Sign up for our newsletter!