Your Gateway To Digital Success
Wesbytes Blue Logo

Wesbytes Knowledge Base

Search our articles or browse by category below

How to Change the Listening Port for Remote Desktop

Last modified: July 2, 2022
You are here:
Estimated reading time: 1 min

How to Change the Listening Port for Remote Desktop

The Remote Desktop functionality on your computer “hears” the connection request when you use the Remote Desktop client to connect to a computer (a Windows client or Windows Server). Through a designated listening port, your computer can hear IT (3389 by default). Additionally, you can alter the registry on Windows machines to adjust that listening port.

To change the port that Remote Desktop listens on, follow the below steps –

These are the steps you can take to modify your registry. Make sure you properly modify the registry, as anything goes wrong, it may cause problems. Backup the registry before changing it for safety.

Step 1 of 6

Start the Registry Editor.

Step 2 of 6

Locate and click the following registry sub-key –

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber

Step of 6

Go to the Edit menu, click Modify, and then click Decimal.

Step of 6

Enter the new port number and click OK.

Step 5 of 6

Exit the Registry Editor.

Step 6 of 6

Restart your machine.

When using the Remote Desktop Connection to connect to this machine, it is crucial to enter the updated port number. You must configure your firewall to permit the new port number for the Remote Desktop connection before connecting this device.

Was this article helpful?
Dislike 0
Views: 10