Changing the Remote Desktop Connection Port for Your Windows Server

You can change the Remote Desktop Connection port for your Windows server as an added security measure.

To Change the Remote Desktop Connection Port for Your Windows Server

  1. Log in to Remote Desktop as an administrative user.
  2. Click the Start Menu and select Run.
  3. Type regedit.exe and click OK.
  4. Navigate through the System Registry and select the following registry key:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
  5. Right-click and select Modify.
  6. Select the Decimal radial option.
  7. Change the value to your desired port number.
  8. Restart your Web server.

Note: If your server uses a firewall, you need to open the new port on it. If you don't, you cannot access your server over RDC. The process to open the port depends on your firewall.

Opening Ports on Your Firewall