windows更改3389登录端口

1.开始-运行-regedit-确定.打开注册表.
2.展开HKEY_LOCAL_MACHINE,展开SYSTEM,展开CurrentControlSet,展开Control,展开Terminal Server,展开Wds,展开rdpwd,展开Tds,点击tcp,选择PortNamber值,右键修改.
3.选择十进制,然后看到数值数据(默认是3389),修改成其它,如5000.接下来,还要修改一处.
4.展开HKEY_LOCAL_MACHINE,展开SYSTEM,展开CurrentContro1Set,展开Control,展开Tenninal Server,展开WinStations,选择RDP-Tcp.找到并选择PortNamber值,右键修改.同样选择十进制,修改数值数据.跟上边一样.修改好后,保存.
5.重启

原文地址:https://www.cnblogs.com/ericyuan/p/7124708.html