更改远程桌面连接端口号

开始-->运行-->输入regedit
请按以下步骤查找:
  1、hkey_local_machine/system/currentcontrolset/control/terminal server/wds/rdpwd/tds/tcp下的portnumber=3389改为自宝义的端口号
  2、hkey_local_machine/system/currentcontrolset/control/terminal server/winstations/rdp-tcp下的portnumber=3389改为自宝义的端口号
  修改3389为你想要的数字(在十进制下)----再点16进制(系统会自动转换)----最后确定!

  重启电脑就行了

原文地址:https://www.cnblogs.com/554006164/p/1895751.html