Modify the server port to other ports 3389

 

First, the server does not use a firewall situation

1, cmd enter regedit,

 2, found:

① \ \ \ \ \ Under Computer \ HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet \ Control \ Terminal Server Wds rdpwd Tds \ tcp of PortNumber:

3, right changes, click Decimal, change the port number (999) and determines

 4, found:

② Computer \ HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Control \ Terminal Server \ WinStations \ RDP-Tcp under PortNumber:

5, right to modify, click Decimal, change the port number (999) and determines

 

Second, use a firewall server case

Modify the registry path:

计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Defaults\FirewallPolicy\FirewallRules

RemoteDesktop-UserMode-In-TCP and RemoteDesktop-UserMode-In-UDP two files under

 Right into the editor, the 3389 revised to already have finished modifying the port number (999)

 

Third, restart the service

cmd enter services.msc

 

Find Remote Desktop Services and Remote Desktop Configuration, click to restart

 

 

Reference documents: https://blog.csdn.net/GX_1_11_real/article/details/84544705

Guess you like

Origin www.cnblogs.com/Snowfun/p/11454126.html