Welcome to Our Community

Wanting to join the rest of our members? Feel free to sign up today.

Sign Up

How to Change RDP Port on Windows Server (Remote Desktop)

Discussion in 'Web Hosting Discussion' started by Gaiacom_LC, Mar 15, 2014.

Share This Page

  1. Gaiacom_LC New Member

    Jan 7, 2014
    Likes Received:
    Trophy Points:
    If you use remote desktop (RDP) with your Windows server, you may wish to update the server's RDP port for added security. To update the RDP port from the default port 3389, follow the steps below:
    • Start the Registry Editor by navigating to Start > Run > regedit
    • Locate the registry key called HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
    • Click the subkey PortNumber, find the Edit menu, choose Modify, then select Decimal.
    • Type your desired port number. It should be xxxx or xxxxx, and should not conflict with another running service (choose a high port number).
    • Click OK. Exit Registry Editor. Restart the system.
    The server's port for RDP connections will now be updated.

    NOTE: To connect to Windows server on the new port, you will need to specify the port in Remote Desktop Connection or your RDP application of choice. This is usually done by entering the server’s IP address and port in the following format: (Where “″ is the server’s IP address, and “33994″ is the RDP port number.)
    How to Change RDP Port via RedArray Knowledgebase.