Like netizens said, I tried the method mentioned on the Internet for a long time, but in the end it still depends on each person.
I was inspired by an article: No networking in virtual machines - NAT method
The operation is only one step, that is, in the lower left corner of [Edit] --> [Virtual Network Editor], [Restore Default Settings]
Then open the network connection on it.
It mainly depends on whether there is a problem with your own network distribution. The reason for the inability to connect is the address problem.
Check the IP address in [NAT Settings] mentioned in the
above link; at the same time, "ipconfig" on the local DOS, check the IP address of the assigned adapter;
whether the two network segments are the same network segment
(that is, the third one address bits are the same).
Because my two network segments have suddenly become different, I have been unable to connect. [Restore default settings] It is very convenient to assign it directly to you.