frp p2p rdp 计算机无法连接到远程计算机上的另一个控制台会话原因是你正在运行一个控制台会话

更换visitor rdp端口
powershell管理员模式

$portvalue = 13389

Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "PortNumber" -Value $portvalue

New-NetFirewallRule -DisplayName 'RDPPORTLatest-TCP-In' -Profile 'Public' -Direction Inbound -Action Allow -Protocol TCP -LocalPort $portvalue 
New-NetFirewallRule -DisplayName 'RDPPORTLatest-UDP-In' -Profile 'Public' -Direction Inbound -Action Allow -Protocol UDP -LocalPort $portvalue
posted @ 2024-07-29 10:05  twfb  阅读(1)  评论(0编辑  收藏  举报