Home  >  Article  >  Computer Tutorials  >  How to change the port number of Windows 10 Remote Desktop

How to change the port number of Windows 10 Remote Desktop

王林
王林forward
2024-01-10 23:01:291903browse

Some users want to change the remote desktop port number but don’t know how to change the Win10 remote desktop port number. Next, the editor will give you a detailed introduction to the tutorial on how to change the Win10 remote desktop port number. If you need it, please come and chat with me. Let’s take a look together.

Method 1: Modify the port number in the registry

1. "Win R" shortcut key to start running, enter "regedit" and press Enter to open.

2. Enter the registry editor, copy "Computer HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp" to the address bar above and press Enter to locate it. Find "PortNumber" on the right and double-click to open it.

How to change the port number of Windows 10 Remote Desktop

3. In the window, change the "numeric data" to the new port number (between 1025 and 65535), and check "Decimal". Click OK to save.

How to change the port number of Windows 10 Remote Desktop

Method 2: Modify the port number in the firewall

1. Open "win R" and enter "control" and press Enter to open the control panel.

2. After entering the new interface, click "System and Security - Windows Defender Firewall - Advanced Settings".

How to change the port number of Windows 10 Remote Desktop

3. Click "Inbound Rules" on the left in the window, and then select the "New Rule" option on the right.

How to change the port number of Windows 10 Remote Desktop

4. Then check "Port" under "Type of rule to be created" and click Next.

How to change the port number of Windows 10 Remote Desktop

5. Check "TCP" and "Specific local port" and enter the port number "3327" in the text box.

How to change the port number of Windows 10 Remote Desktop

6. Then click "Allow connection" and click Next.

How to change the port number of Windows 10 Remote Desktop

7. Check all the options in the picture below and click Next.

How to change the port number of Windows 10 Remote Desktop

8. Finally, enter the name of the rule, such as "TCP Port 3327", and click Finish.

How to change the port number of Windows 10 Remote Desktop

The above is the detailed content of How to change the port number of Windows 10 Remote Desktop. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:dafanshu.com. If there is any infringement, please contact admin@php.cn delete
Previous article:Win 11 latest version?Next article:Win 11 latest version?