When you connect to a computer through the Remote Desktop client, the Remote Desktop feature on your computer “hears” the connection request through a defined listening port (3389 by default). Port 3389 is the universal default port for Microsoft’s Remote Desktop Protocol which is known by basically everyone. Windows allows users to change that listening port by modifying the system’s registry, and the steps below will show you how to do that. Our previous post showed you how to enable remote desktops in Windows 11. Read that post if you want to use the remote desktop connection in Windows 11. How to enable remote desktop in Windows 11.
How to change the remote desktop (RDP) listening port in Windows 11
As mentioned above, the Remote Desktop feature on your computer “hears” the connection request through a defined listening port (3389 by default). If you want to change the default port to something different for security reasons, the steps below show you how to do that. To get started, open the registry editor. (Type regedit in the Search box. Next, navigate to the following registry subkey: Once you’re there, find PortNumber and right-click and select Modify, and then click Decimal. Type the new port number, and then click OK. Close the registry editor, and restart your computer. That should do it! Conclusion: This post showed you how to change the remote desktop listening port in Windows 11. If you find any error above or have something to share, please use the comment form below.