Get the App
SLTechnology News&Howtos  ›  Servers  › 

Windows Server 2012 remote default port 3389

Shulou Source: shulou.com Published: 2022-06-03 09:23:04 12月06日 Update

Many friends like to modify the default port of remote connection when using WINDOWS operating system. However, many friends can not operate the server remotely due to the wrong method of modifying the port, which brings trouble to themselves. Here, I will give you a brief talk about the correct way to modify the remote port.

In the start-run menu, enter regedit, enter the registry to edit, and follow the previous path to enter the modified port:

1. HKEY_LOCAL_MACHINE/System/CurrentControlSet/Control/Terminal Server/WinStations/RDP-Tcp finds the following "PortNumber" and displays it in decimal mode. The default is 3389, which is changed to any available port.

2, please note that after the modification here, the modification has not been successful, and another location of the registry file must also be modified accordingly. The path is HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Terminal Server/Wds/rdpwd/Tds/tcp to find the following "PortNumber", display it in decimal mode, and make changes.

Then find 2012windows Firewall Advanced Management-Select inbound rules-remote Desktop user Mode (TCP-IN)

Select, create a new rule-Port-apply to TCP, specific local port, fill in the port number you just modified-allow connection, and then all the next step. When it comes to the name, you can choose your own remote Desktop * * port.

Restart the server and you are done.

Tags: Port faceted decimal method friend server desktop registry rule path decimal service advanced success done operating system location slogan name Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Shulou Tech Info Linux vpn OPPO Reno