Remote connection under windows

Recently, I want to engage in remote connection, but I don’t know anything about the network, so it took two days to understand a little bit, but there are still a lot of questions that need to be further studied. Next, let’s record the past few days. Learning and practice.


First, I briefly read the link and have a simple understanding of the communication between computers. Then we know that the communication between computers is different in one network segment and in different network segments ( the communication principle of the same network segment and different network segments 1 , with the communications network and the principle of two different networks , with the communications network and the different network principle 3 ). For the use of windows mstsc to connect remotely, it is natural that the two machines can be pinged. Then set it to allow remote control.

Next, let's talk about how to make two machines can ping each other.

Same network segment (intranet)

If you are on the same network segment, you can use mstsc directly, whether it is wired or wlan (for wlan, it requires a computer under a router), but I tried to use mobile hotspots on my two computers, and then I want to use one of them to access another computer, but the result keeps failing. I still can't understand why this is. In theory, as long as it is a device under a router, it should be ok. Try again later. Then I tested two computers on the same network segment (the server uses a wired network). There is no problem at all. It is worth mentioning that for the machines under the campus network, the ip of the wired connection and the ip of the wireless computer are not the same. Network segment, but the magic is that wirelessly connected computers can also be remotely connected to wired computers. This blog explains this phenomenon well.

Not in the same network segment

If the two computers are not in the same local area network, both computers must be connected to the Internet. As long as they can be connected to the Internet, they can be pinged, and they can communicate remotely and realize remote desktops.

Guess you like

Origin blog.csdn.net/qq_39805362/article/details/107043409