Menu
User

DropVPS Team

Writer: John hens

How to change default port from 3389 to 3390?

How to change default port from 3389 to 3390?

Publication Date

12/26/2025

Category

Articles

Reading Time

2 Min

Table of Contents

Changing the default Remote Desktop Protocol (RDP) port from 3389 to 3390 can enhance security and reduce exposure to automated attacks. Below is a step-by-step guide with clear instructions and code examples.

Step 1: Open Registry Editor

To begin, open the Windows Registry Editor, which allows you to access and modify system-level settings including the RDP port.

Win + R

Then type:

regedit

 Step 2: Navigate to the RDP Port Registry Path

To locate and modify the Remote Desktop Protocol (RDP) port setting, you need to browse through the Windows Registry Editor and access the specific path where the RDP-Tcp configuration is stored, which controls the default port used for remote desktop connections.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

Step 3: Change the PortNumber Value

Find the PortNumber entry and change its value from 3389 to 3390 to update the RDP listening port.

Double-click PortNumber → Select Decimal → Enter 3390 → Click OK

 Step 4: Allow the New Port Through Windows Firewall

After changing the RDP port in the registry, you must manually create a new inbound rule in Windows Firewall to allow traffic through port 3390, otherwise remote desktop connections will be blocked even if the port is correctly configured

netsh advfirewall firewall add rule name="RDP Port 3390" protocol=TCP dir=in localport=3390 action=allow

 Step 5: Restart the Computer

Restart your system to apply the registry changes and activate the new port configuration

shutdown /r /t 0

 Step 6: Connect Using the New Port

When connecting via Remote Desktop, specify the new port number after the IP address.

192.168.1.100:3390
RDP Hosting
U
Loading...

Related Posts