How to Change Remote Desktop Port in Windows 11
This guide explains how to change the remote desktop listening port in Windows 11.
When you use Remote Desktop to connect to your computer, it listens for a signal on a specific door, known as a port. By default, this is set to 3389. Because everyone knows this number, changing it can make your computer harder for strangers to find.
Why change the port? Changing this number adds a layer of security by hiding your connection from standard scans.
What happens when done? Your computer will stop listening on the old port and only accept connections through the new number you choose.
Before you begin, check out our guide on how to enable remote desktops in Windows 11. You can also view more tips here: How to enable remote desktop in Windows 11..
How to change the Remote Desktop port
To change this setting, you must edit the Windows Registry. Note: This step requires administrator privileges.
- Click the Search icon and type
regeditto open the registry editor. - Use the folder tree on the left to navigate to this path:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

- Find the item named
PortNumberon the right side. - Right-click it and select Modify.
- Select the Decimal option.
- Type your new port number in the box and click OK.

- Close the Registry Editor and restart your computer to save the changes.
Summary
Changing your Remote Desktop port is a simple way to improve your computer’s security. By moving away from the default 3389, you make it much harder for unauthorized users to target your system. Remember to save your new port number in a safe place, as you will need it to connect in the future.
Was this guide helpful?
Leave a Reply