Then remote desktop, you'd better change the port number, such as 3389 to 12345.
The specific method is as follows:
HKEY _ LOCAL _ MACHINE \ System \ current Control set \ Control \
Terminal server \Wds\Wds\Tds\Tcp
And HKEY _ local _ machine \ system \ current control set \ control \ terminal server \ winstates.
Press the key value of the PortNumber key: 0xd3d, which is 16, which is 3389 in 10, which is the port of RDP protocol, and change it to the port you want to set.
Then if you visit, use IP: 12345 to visit.
Use your own firewall to add inbound rules and specify the source IP address that allows you to connect to the remote desktop. This is the IP of your computer.
Remember that you are allowed to change the remote desktop port number in the firewall.