How to modify the remote login port of Windows computer

Normally, there must be a need to modify the default remote login port of 3389 in windows. After searching a lot of places, I finally found a more reliable one and recorded it for future use.

Proceed as follows:

  • 1. Find the Run dialog box, one method is: Start->Accessories->Run; the other is the shortcut key combination win+R.

  • 2. Regedit, enter the regedit command in the dialog box, and then press Enter.

  • 3. Enter the command and press Enter to open the registry of the system. The left side is the directory bar, and the right side is the submenu or directory content under the directory.

  • 4. Modify port 1, open according to the path, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp, double-click the file, switch to decimal, the default is 3389, modify it to 8888.

  • 5. Modify port 2, according to the path, HKEY_LOCAL_MACHINE\SYSTEM\CurrentContro1Set\Control\Tenninal Server\WinStations\RDP-Tcp, modify the value of PortNamber, the method is the same as above.

  • 6. Shut down and restart. After the modification, the settings have not yet taken effect, and there is still a step to restart the computer.


Guess you like

Origin blog.csdn.net/weixin_42019349/article/details/129480559