How to change the default RDP (Remote Desktop) listening port on your Windows VPS?

By default Windows machines are remotely accessible via Remote Desktop on TCP port 3389In certain situations changing the Remote Desktop port is useful, especially when you receive a huge number of failed Remote Desktop login attempts on default port. In order to change the default port of Remote Desktop, you'll need to alter the registry of your server. Registry changes may cause some serious problems in your server when performed incorrectly, so be careful while performing the steps mentioned in this article.

Furthermore, to maintain the access to your server after changing the Remote Desktop port, be sure that you also change the port in Windows Firewall's Remote Desktop Services rule OR create new rule with new RDP port by referring to this article. Otherwise, Windows firewall won't allow you to access your server using new Remote Desktop port.




  1. Login to your Windows server via Remote Desktop.
  2. Click on Start >> Run >> Type REGEDIT and hit enter. This will open registry editor.

    Run Menu

  3. Locate and click following registry subkey.

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp

    Registry Editor

  4. Double click on the PortNumber registry subkey, select the Decimal base. Type new port number in Value data field and click OK to save the changes.

    Edit Value

  5. Quit Registry Editor.
  6. Restart the VPS/server.


  • 2 Users Found This Useful

Was this answer helpful?

Related Articles

Fix :: Error 126 while starting remote desktop service, the specified module could not be found

Problem Statement Could not connect to Windows VPS Error Message Remote Desktop can't connect...

Can I Monitor and Login To User's Account As SmarterMail Administrator?

Yes, you can monitor and login to user's mailboxes as SmarterMail administrator using Impersonate...

Does Windows VPS Come With Pre-installed Windows OS or Do I Have to Install Windows OS By My Own?

Windows operating system will be pre-installed on your Windows VPS. We will install and configure...

How to block single IP address or range of IP addresses from Windows Firewall 2008?

Following article will assist you to block single IP address or a range of IP addresses in...

How to setup web admin email account from MailEnable?

Following are the steps to setup web admin email account from MailEnable: Login into MailEnable...