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 3389. In certain situations changing the Remote Desktop, the port is useful, especially when you receive a huge number of failed Remote Desktop login attempts on the 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 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 a new rule with a new RDP port by referring to this article. Otherwise, the Windows firewall won't allow you to access your server using the new Remote Desktop port.

  1. Log in to your Windows server via Remote Desktop.

  2. Click on Start >> Run >> Type REGEDIT and hit enter. This will open the 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 Remote Desktop Service. Please refer to How to restart the Remote Desktop Service on Windows server?

 

Related Articles

How to setup Failure Settings for an Application Pool in IIS?

Rapid fail protection is an IIS feature that works with the health of worker processes of a...

How to Change TimeZone in Windows?

We deliver Windows VPS with default time zone MST - Mountain Standard Time. You may need to...

I am unable to do RDP in my Windows VPS. What could be the possible reasons?

Please check the following: Ensure that you are using correct IP to do RDP. Ensure that your...

How to install Node.Js on Windows Server?

Following steps will be helpful to install Node.Js on your windows server. Go to...

How to enable GD Library support for PHP in Windows server?

In order to enable GD Library support for PHP on Windows server, follow the below mentioned...

  • 3 Users Found This Useful

Was this answer helpful?