Posted on

Windows, change rdp port

The rdp defaul port is 3889.

To change this port :

WINDOWS FIREWALL

In windows firewall, create a windows inbound rule on this new port on windows firewall.

WINDOWS REGISTRY

  1. Start the registry editor. (Type regedit in the Search box.)
  2. Navigate to the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber
  3. Click Edit > Modify, and then click Decimal.
  4. Type the new port number, and then click OK.
  5. Close the registry editor, and restart your computer.