修改方法:
开始-运行,输入“regedit”打开注册表
在HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp找到PortNumber更改十进制数值(原默认3389)
在HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp找到PortNumber更改十进制数值(原默认3389)