Which port do I need to open to connect to the remote desktop?
Port 3389 needs to be opened to connect to the remote desktop. \x0d\\x0d\ After a general Web server is placed on the public network, some will open a remote desktop connection for the convenience of remote operation. It's not safe. After the scanning server opened port 3389, many hackers used this port to launch attacks. In order to reduce the risk, if you want to use the remote desktop connection, the simpler way is to modify the port 3389 of the remote desktop connection. \x0d\\x0d\ The default port of Remote Desktop Terminal Service is "3389". In order to prevent others from maliciously connecting, you need to change the default port. You can open the registry editor (run regedit) and expand the branch of "HKEY _ local _ machine \ system \ x0d \ current control set \ control \ terminal server \ WDS \ rdpwd \ TDS \ TCP" in turn. The key value of "Port number" under it corresponds to the port number and can be modified. After the above settings are completed, you need to expand the branch "HKEY _ local _ machine \ system \ current control set \ control \ x0d \ \ terminal server \ Winstations \ RDP-TCP" in turn, and you need to modify the key value of "port number" under it. \x0d\ For example, you can change the port to 8080, or to 443 or other ports, which can mislead hackers into thinking that this is a proxy server port or an HTTPS port. \x0d\ So how do I connect to the remote desktop after modifying the port? It's actually quite simple. Just add a colon after IP and then the port. For example:192.168.2.6438+01:443.