更改远程桌面端口
1、在运行里用regedit命令打开注册表管理器
2、找到HKEY_LOCAL_MACHINE\SYSTEM\CurrenControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp,在左边的对话框里找到PortNumber选项,更改端口号即可(默认为3389)
3、找到HKEY_LOCAL_MACHINE\SYSTEM\CurrenControlSet\Control\Terminal Server\WinStations\RDP-Tcp,在左边的对话框里找到PortNumber选项,更改端口号即可(默认为3389)
注:两项必须同时更改才能生效