HOW TO: Change the Listening Port for Remote Desktop

To change the port that Remote Desktop listens on, follow the below steps –

These are the steps that will help you to modify the registry. Ensure that you modify the registry correctly as if anything goes wrong, it may create issues. For security, backup the registry prior to modifying it.

  1. Start the Registry Editor.
  2. Locate and click the following registry sub-key –
  3. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
  4. Go to the Edit menu, click Modify and then click Decimal.
  5. Enter the new port number and click OK.
  6. Exit the Registry Editor.
  7. Restart your machine.

Note: While trying to connect to this computer with the Remote Desktop Connection, it’s important to type the new port number. You will need to set the firewall to allow the new port number prior to connecting this machine by using Remote Desktop connection.

  • 3544 Users Found This Useful
Was this answer helpful?

Related Articles

HOW TO Connect in RDP(VPS) Windows

DO NOTE: For our servers, we uses custom RDP port such as TCP port: 45200 or 45666 for security...

HOW TO: Transfer File in RDP

How to Use Remote Desktop to Transfer Files to Your Windows Server Transferring files to your...