Change RDP Listen Port

mona
2024-09-04

The default TCP port number for RDP is 3389.

This port can be changed using the registry editor:

  1. Start the Registry Editor.
  2. On the left side navigate to the following registry subkey:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp
  3. On the right side locate and double-click the value "PortNumber" in order to open the edit window
  4. Select the "Decimal" option, type the new port number and click OK.
  5. Quit Registry Editor and reboot your computer

Now you have to add this port in the RDP client - otherwise RDP will use default port 3389.

For example - syntax: [ip-address:port-number]

Note ! Adding the port number is supported up from RDP version 8.0

 

Tags: Change RDP Listen Port, connect from internet, Port, port forwarding, RDP, RDP Listen Port, registry, XP/VS Server