Servers3 minutes

    Change RDP Port

    Change default RDP port 3389 for better security

    Heads up

    WARNING: Ensure you open the new port in the Firewall BEFORE applying changes, otherwise you will lose access!

    1. 1
      Step 1

      Open Registry Editor

      Press Win + R, type 'regedit', and press Enter.

      Open Registry Editor
    2. 2
      Step 2

      Navigate to Path

      Go to the following path:

      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
    3. 3
      Step 3

      Edit PortNumber

      Find 'PortNumber' key. Double click it, select 'Decimal', and enter the new port (e.g., 5000).

      Edit PortNumber
    4. 4
      Step 4

      Open Port in Firewall

      Open Windows Defender Firewall with Advanced Security. Create a new Inbound Rule for the new port (TCP).

    5. 5
      Step 5

      Restart

      Restart Remote Desktop Services or the entire server.

    Need help?

    Steps didn't work for you? Our support team is available around the clock.

    Contact support