windows如何修改远程桌面端口号

win+R打开运行对话框,输入“regedit”打开注册表。

windows如何修改远程桌面端口号_第1张图片

依次打开:[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp]

windows如何修改远程桌面端口号_第2张图片
windows如何修改远程桌面端口号_第3张图片
windows如何修改远程桌面端口号_第4张图片

在右边找到“PortNumber”双击打开。
windows如何修改远程桌面端口号_第5张图片
选择十进制,看到原端口号为:3389,这时候可以修改后点击确定即可。
windows如何修改远程桌面端口号_第6张图片
windows如何修改远程桌面端口号_第7张图片

接着依次打开[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]

windows如何修改远程桌面端口号_第8张图片

windows如何修改远程桌面端口号_第9张图片
点击右边的端口号“PortNumber”同样为3389修改成和上面要改的端口一样,保存后重启电脑。
windows如何修改远程桌面端口号_第10张图片

注意:如果是服务器,还需要配置防火墙入站规则

你可能感兴趣的:(网络,服务器,网络)