Category : Others + | Author : Chtiwi Malek | First posted : 3/5/2012 | Updated : 10/21/2013
Tags : windows, rdp, terminal server, tutorial
Changing the default RDP (Terminal Server) listening port 3389

Changing the default RDP (Terminal Server) listening port 3389

In this tutorial i will explain how to change the Remote Desktop Protocol (RDP) port number using the registry editor (regedit).

I tested this procedure on :

- Windows Server 2003
- Windows XP
- Windows Vista
- Windows 7
- Windows 8
- Windows Server 2008
- Windows Server 2012

By default the Remote Desktop Protocol and Terminal Server listens on TCP port 3389, to change that port number for all new connections :

1 - Start -> Run... type 'regedit.exe' then press OK
2 - Browse to this key : HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Terminal Server > WinStations > RDP-Tcp
3 - Find the 'PortNumber' subkey, clic modify, choose decimal and change it's value and finally save.

Note : The default value is "00000D3D" HEX for the decimal value "3389".

4 - Make sure that the new configured port in open on the firewall.
5 - Restart the computer.

That's all, now you'll need to configure your TS client to connect to the new port.

Remember that it is important to change that port number to be protected against piracy and robots that try to get in by sending different passwords 'with the root and administrator usernames' on that 'default' port 3389.
About the author :
Malek Chtiwi is the man behind Codicode.com
34 years old full stack developer.
Loves technology; but also likes design, photography and composing music.
Comments & Opinions :
tech instructor to school kids
Great article..I would add that one may need to do port forwarding in the router to the IP of the TS as well as the Windows firewall port exception. I had setup a VM with 2008 R2 as a training machine for students and left it to the default port for a few days and had all kinds of login attempts from IP addys in Indonesia and eastern europe in the event logs. Changed the port and no one rattling the doorknobs anymore.
- by Daniel Keating on 5/23/2015
Composition
I teach composition at one of the City Colleges, and have taught writing at another school with a high population of CPS graduates, virtually all of whom are the first in their family to attend college. Writers who do my essay today will find it useful: guidelines on changing default statuses.
- by Rich on 8/11/2017
happy wheels now
Thank you for your sharing. Thanks to this article I can learn more things. Expand your knowledge and abilities. Actually the article is very practical. Thank you!
<a href="https://happywheelsnow.com/">happy wheels now</a>

- by happy wheels game on 12/27/2017
https://happywheelsnow.com
Thanks for your sharing. Hope you can contribute more quality posts to this page. Thank you!

- by happy wheels game on 12/27/2017
Great
Good post found here. <a href="https://google.com">Site is best</a>
- by lkmases on 1/22/2018
Useful
I found this article useful.
- by Savannah on 1/22/2018
Essay writing service
We Provide quality services in all over the USA ​
<a href="http://www.excellentacademichelp.com/essay-writing/"> Write my essay cheap for me</a>
<a href="http://www.excellentacademichelp.com/essay-writing/"> Write my essay cheap for me</a>
It is very useful for us.
- by Ruby Welsh on 3/24/2018
essay
<a href="http://www.excellentacademichelp.com/essay-writing/">Write my essay cheap for me</a>
- by Ruby Welsh on 3/24/2018
Write my essay
If you have workload and don't have time to complete your Essay than tell us [url=https://www.apexessays.com/]Write my Essay[/url] will provide Quality Contents at a very Cheap Rates which meets all the requirements and standard.
- by Alex_Liam on 3/26/2018
https://www.apexessays.com/
- by Alex_Liam on 3/26/2018
color switch
I regularly visit your site and find a lot of interesting information. 
Not only good posts but also great comments. 
Thank you and look forward to your page growing stronger.
    [url=http://colorswitch2.com/]color switch 2[/url]

 
- by funnyjokes on 5/3/2018
Prem Li
<a href="http://www.kolkataqueen.com">N</a><a href="http://www.kolkataqueen.com/kolkata-escorts-gallery.html">i</a><a href="http://www.renudas.in">c</a><a href="http://www.kolkatadivas.com">e</a>  <a href="http://www.kolkatadivas.com/gallery.html">p</a>ost Sir Thanks For Share.
- by riya Malohtra on 6/6/2018
d2
thnks
- by play game on 7/18/2018
nice
Great blog
- by Thanos on 9/29/2018
Leave a Comment:
Name :
Email : * will not be shown
Title :
Comment :