修改远程桌面端口号


远程桌面服务所使用的通信协议是Microsoft定义RDP(Reliable Data Protocol)协议,RDP协议的TCP通信端口号是3389。为了安全起见,我们常需要更改其端口。

运行注册表编辑器cmd——regedit,找到
    HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal ServerWdsRepwdTdsTcp

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminalServer WinStations 

下PortNumber,如下图修改,改完重启电脑即可



原文地址:https://www.cnblogs.com/dyllove98/p/3215190.html