Change
RDP port

categories

When you connect to a remote computer (either a Windows client or Windows Server) through the Remote Desktop connection, the Remote Desktop feature on your computer “hears” the connection through a listening port (3389 by default). You can change that listening port on Windows computers by modifying the registry. In this article, we are going to change the RDP port used in remote desktop access.

Please note that when choosing a non-standard RDP port, it is not recommended to use port 1-1023 as they are called known ports, while port 49152-65535 is a dynamic or private port which is not in use by any service or application.

In this tutorial, we will lean how to change RDP port of a Remote Desktop Service to 33091. To do it:

STEP 1

Connect to the Windows Client/Server over RDP

Launch the Registry Editor (press WIN+R, type regedit, press Enter)

Change-RDP-port-tutorial-v2cloud

STEP 2

Navigate to the Remote Desktop Registry (RDP-Tcp)

Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp.

Change-RDP-port-tutorial-v2cloud

STEP 3

Change the default port number

Double-click on the PortNumber value and change the port to 33091 (Decimal).

Change-RDP-port-tutorial-v2cloud

Click OK to save the changes

Restart your Windows computer or restart RDP services using the command prompt for changes to apply.

Cmd: net stop termservice & net

STEP 4

Connect to the windows computer after restarting via RDP and include the new RDP port.

remote-desktop-connection-v2cloud

STEP 5

Confirm listening port

Once you have successfully connected to the windows computer using the new RDP port, you can use the netstat -na | Find “List” command to confirm Remote Desktop Service is listening on the new port.

Change-RDP-port-tutorial-v2cloud

Changing RDP port helps to reduce the risk of port scanners and RDP vulnerabilities.

For added security, it is best to use VPN gateway or RDP applications like V2 Cloud that provides you fast and secure cloud desktops to facilitate remote work.