Modify remote port (network security)
Remote ports that prevent common port scanning:
The default windows remote port is 3389, which is modified as follows:
1. Enter the following path: [HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Control\ TerminalServer\ Wds\ rdpwd\ Tds\ tcp] and see the PortNamber value? The default value is 3389, which can be changed to the desired port, such as 6222.
two。 Open [HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentContro1Set\ Control\ Tenninal Server\ WinStations\ RDP\ Tcp] and change the value of PortNumber (default is 3389) to port 6222. After the modification, restart the computer, and then use port 6222 when logging in remotely.