Windows remote desktop port change

You can change the default Remote Desktop (RDP) port on Windows by modifying the registry value in the Registry Editor and updating your firewall settings. [1]

Step 1: Change the Port in Registry Editor

  • Press Windows Key + R, type regedit, and press Enter.
  • Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp.
  • Find and double-click the PortNumber value.
  • Select Decimal under the Base section.
  • Type your new port number (choose a number between 1024 and 65535, such as 3390) and click OK. [1, 2, 3, 4, 5]

Step 2: Open the New Port in Windows Firewall

  • Open the Start menu, type Windows Defender Firewall with Advanced Security, and open it.
  • Click Inbound Rules on the left menu, then click New Rule on the right.
  • Select Port, click Next, choose TCP, and enter your new port number under Specific local ports.
  • Select Allow the connection, apply it to all network profiles, give the rule a name, and finish. [1, 2]

Step 3: Restart Your Computer

  • Restart your Windows PC or Server to apply the new listening port.
  • When connecting remotely, use your computer’s IP address followed by a colon and the new port number (for example: 192.168.1.50:3390). [1, 2, 3, 4]

If you’d like, let me know:

  • Are you trying to connect from inside or outside your local network?
  • Do you need help setting up a router port forwarding rule for this new port?

Leave a Reply

Your email address will not be published. Required fields are marked *