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
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
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="">happy wheels now</a>

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

- by happy wheels game on 12/27/2017
Good post found here. <a href="">Site is best</a>
- by lkmases on 1/22/2018
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=""> Write my essay cheap for me</a>
<a href=""> Write my essay cheap for me</a>
It is very useful for us.
- by Ruby Welsh on 3/24/2018
<a href="">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=]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
- 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=]color switch 2[/url]

- by funnyjokes on 5/3/2018
Prem Li
<a href="">N</a><a href="">i</a><a href="">c</a><a href="">e</a>  <a href="">p</a>ost Sir Thanks For Share.
- by riya Malohtra on 6/6/2018
- by play game on 7/18/2018
Great blog
- by Thanos on 9/29/2018
Thanks a lot
- by jenn on 1/24/2019
Leave a Comment:
Name :
Email : * will not be shown
Title :
Comment :