直接上方法:
1、打开注册表
2、打开路径“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp”,修改“PortNumber”
4、打开路径“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp”,修改“PortNumber”
5、重启“Remote Desktop Services”服务
6、防火墙端口修改
Done.
标签:CurrentControlSet,Windows,端口,3389,Terminal,PortNumber From: https://www.cnblogs.com/dysjwang/p/17755968.html