How to Set up RDP Port on Windows

June 12, 2024 / How-to Guide

Setting up the RDP port on Windows guarantees secure and customised remote access to your computer from another device.

To set up the RDP (Remote Desktop Protocol) port on Windows involves a few key steps:

  1. Access Remote Desktop Settings:
    1. Open the Start menu, type “Remote Desktop settings,” and select “Remote Desktop settings” from the results.
  2. Enable Remote Desktop:
    1. Toggle the switch under “Enable Remote Desktop” to turn it on.
      enable rdp
  3. Check Firewall Settings:
    1. Ensure that Windows Firewall or any third-party firewall software allows Remote Desktop connections. You may need to create a rule to allow traffic on port 3389 (default RDP port).
  4. Change RDP Listening Port (Optional):
    1. If you need to change the default RDP port (3389), which is recommended for security reasons, follow these steps-
      1. Open the Registry Editor (regedit).
      2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber.
      3. Change the value of PortNumber to your desired port (confirm it is not used by other services).
      4. Restart the Remote Desktop Services or reboot the computer for the changes to take effect.
  5. Connect Using the Custom Port:
    1. When connecting remotely, identify the IP address or hostname of the target machine followed by a colon and the custom port number (e.g.,
  6. Secure Remote Desktop Access:
    1. Perform further security measures such as Network Level Authentication (NLA) and strong user authentication (complex passwords, multi-factor authentication) to secure RDP access.

This was the end of our article. However, if you still face any difficulties, get in touch with our support team.

Spread the love