Top Two Ways to Change Remote Desktop Port Win 10

In this post, there are 2 ways to change Remote Desktop port on Win 10. Choose the one that suits you best.

Ellie

By Ellie / Updated on December 13, 2024

Share this: instagram reddit

Need to change RDP port Win 10

“I want to know if I can change the RDP on Win 10? I know 3389 is the default port. I'm trying to connect my Win10 at home to my work computer, but it doesn't seem to work because port 3389 hasn't been forwarded yet. And I don't have permission to do so.”

How do I change the RDP port on Windows 10?

In the case shown above, we can’t use the Windows built-in feature Remote Desktop to remotely control a PC when the two computers are not on the same LAN. Currently, we need to perform port forwarding to realize Remote Desktop Connection. Apart from that, it is acknowledged that the 3389 port is the default, so many users are prone to change the RDP port for security, which makes it difficult for hackers to access the data or credentials. How to change RDP port on Win 10? Read the following steps to change the RDP port.

Way 1: Change the port number in Registry Editor

Step 1. Press Windows + R and type "regedit" and then press the “Enter” key.

Run Box Regedit

Step 2. Navigation:

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

Step 3. Scroll down and find the "PortNumber" DWORD and double-click it.

Port Number

Step 4. Change the Value data to your new port numbers such as 22102 (between 1025 and 65535) and tick Decimal.

Change Port Number

Step 5. Click on OK and restart your computer.

Way 2: Modify Firewall

Step 1. Press Win + R to run the box, type “Control Panel” and press the “Enter” key to open the Control Panel.

Run Control Panel

Step 2. Click the “System and Security” and then select “Windows Firewall.” Choose “Advanced Settings.”

Advanced Settings

Step 3. Click the “Inbound Rules” option on the left of the Windows Firewall window and then click the “New Rule” option under the “Actions”.

Inbound Rules Firewall

Step 4. Click the “Port” option and then click “Next.”

Port

Step 5. Click “TCP” for the port type and then click “Specific local ports.” Type in the port number such as 3327 to the textbox and then click “Next.” 

TCP 3327

Step 6. Click “Allow the connection” and then click “Next.”

Allow the Conenction

Step 7. Select all options for connection types, then click “Next” again

Confirm Check

Step 8. Type in a name for the rule such as "TCP port 3327," then click “Finish” to allow the 3327 port in Windows Firewall. Finally, Change RDP port Windows 10 Firewall" can be achieved. 

RDP Port 3327

[Free] A remote control software without port forwarding: AnyViewer

Now you must know the ways to change RDP port on Win 10. However, from the feedback of many users, they meet with a series of problems in the process of connecting remotely after changing the RDP port, such as Win 10 RDP port change not working. There’s no doubt that changing the RDP port can improve security and promote the RDP session. But it produces more trouble for the users. So, is there an AnyViewer can be your solution! As a remote access software, AnyViewer won’t be limited by LAN to connect, meanwhile it can guarantee the security of RDP. It’s applicable for multiple Windows versions, like Windows 11/10/8.1/8/7 and Windows Server 2022/2019/2016/2012 R2. Follow me and know the operation of AnyViewer.

Download Freeware Win PCs & Servers
Secure Download

Step 1. Install AnyViewer and then open it. Go to the “Log in” tab, click on “Sign up”.

Log in AnyViewer

Step 2. Fill in the information to sign up.

Sign up for AnyViewer

Step 3. Now you can see your interface as the following picture. And your device will automatically be assigned to the account you’ve logged in to.

Free Editions

Step 4. If you log the same account on another device, there will be 2 devices in the “My devices” tab. Click the PC that you need to control and click "One-click control" to achieve unattended access with one click. 

Connect to My Devices

Step 5. The connection is established successfully.

Remote Viewing Files

Note: If you need to give support to your friends,  “Send a control request” is also accessible to complete the remote session.       

Conclusion

How to change the RDP port on Win 10? After taking the solutions into practice, you may already change them successfully. However, if you meet some troubles in Remote Desktop Connection after the steps, you’d better choose 3rd party remote access software—AnyViewer, which is totally trustworthy.