BlackFriday - Save up to 55% on All Servers
Your Webhosting Questions
Answered by the Webhosting Experts
Tags +

Change the Port Terminal Services Listens on

Changing the Listening Port

Need to change the port which Terminal Services listens on? To change your system’s listening port, just follow these 5 steps:

  1. First, run REGEDIT on your server.
  2. Now, export the following key:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp
  3. Edit the REG file and change the name of the key to something like:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp-New

  4. Next, in the REG file find the PortNumber and change it to whatever port you want.
  5. Import the REG file back into the registry.

You can now connect to the new port using the “old” Windows 2000 Terminal Server client. Alternatively, a better option is to use the XP RDP 5.1 or the newer Windows Server 2003 RDP 5.2 client.


Altering the Port on the Client Side

To the alter the port from the client’s side, just follow these 5 steps:

  1. First, go to the Start menu and click on Run.
  2. On the Run menu, type “MSTSC” and click Enter.

    *Note: To use RDP on computers with operating systems other than Windows XP/2003, you will first need to install the RDP client.

  3. Next, in the RDP window, in the Computer box, scroll to the computer name or IP which you wish to connect to.
  4. Add a “:Port” (without the quotes) where “Port” is the decimal value of the destination port.
  5. Once you’ve made your selection, press Connect.

Another method of connecting to a different port other than the default, is to run the MSTSC command with the required command line parameters:


*For example: MSTSC /v:


Popular Links

Looking for more information on Windows? Search our Knowledge Base!

Interested in more articles about Operating Systems? Navigate to our Categories page using the bar on the left or check out these popular articles:

Popular tags within this category include: Linux, Windows, Apache, CentOS, Debian, Fedora, RedHat, and more.

Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.


The Hivelocity Difference

Seeking a better Dedicated Server solution? In the market for Private Cloud or Colocation services? Check out Hivelocity’s extensive list of products for great deals and offers.

With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.

Unsure which of our services is best for your particular needs? Call or live chat with one of our sales agents today and see the difference Hivelocity can make for you.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: We are also available to you through our phone and live chat system 24/7/365.