How To Change RDP Port on a Windows VPS

Hi Netly’ers,

We find a good article about RDP Port on a Windows VPS.


If you ordered a Windows VPS, you may want to consider changing your RDP port to one that is on a non-standard port.

By default, the RDP protocol utilizes port 3389, which is commonly bruteforced and/or scanned. Changing your Windows Server’s RDP listening port is an extra security step you can take.

In this tutorial we will go over how to change the RDP port on your Windows VPS.

  1. Log into your Windows VPS via the Remote Desktop Connection Client.
  2. Once connected to the VPS, start the registry editor. (Type regedit in the search area)
  3. Navigate to the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
  4. Find PortNumber
  5. Click Edit > Modify, and then click Decimal.
  6. Type the new port number you’d like to change your RDP port to, and then click OK.
  7. Close the registry editor
  8. Allow the new port number in your Windows Firewall settings
  9. Restart the Windows Server.

After the server has finished restarting, you will notice the server no longer responds to RDP connections on the standard port, so you will now need to specify the port when connecting via RDP. For example, VPSIP:PORTNUMBER

Do you change the RDP port on your Windows VPS? What other security measures do you take when deploying a Windows based server? Leave your feedback down in the comments section below!

Like Love Haha Wow Sad Angry

Check Also

Boot Windows Server 2012 into Safe Mode

Safe Mode is a mode in Windows which allows access to special features. These features …

Notify of
1 Comment
newest most voted
Inline Feedbacks
View all comments