Solution: 1. Check the properties of the Ethernet through the "Change Adapter" option in the network settings; 2. Click "Configuration" in the properties, and set the properties to "IPv4 Hardware Verification" in the advanced options. and" value can be changed to off; 3. If it cannot be accessed after setting, you can disable Ethernet and then enable it.
The operating environment of this article: Windows 10 system, Dell G3 computer.
The virtual machine has its own LAN IP, so I used bridging, but after using it, I found that ssh suddenly couldn't connect to the virtual machine. The project is also inaccessible. How to deal with it?
Because I want the virtual machine to have its own LAN IP, I used a bridge to facilitate testing.
Here comes the problem:
1. SSH suddenly failed to connect, and the projects on the virtual machine could not be accessed.
2. The virtual machine was connected to the Internet as usual, and there was no problem with pinging each other with the host. I had never encountered this before. I have been in such a situation!
3. It can be said that everything is normal, but the virtual machine just cannot be connected!
4. After various ssh service checks, firewall configurations, etc., None of them work!
After some searching, I accidentally found the following solution: (available for testing)
Solution
1. Find "Change Adapter Options"
2. View the properties of Ethernet
3. Click "Configuration"
4. In the "Advanced" tab, change the value of the attribute "IPv4 Hardware Checksum" to "Off"
5. Use again Xshell tried to connect remotely, and it was connected, ok!
6. If you still can't connect from time to time after setting it up, disable "Ethernet", and then enable it!
Recommended tutorial: "centos tutorial》
The above is the detailed content of What should I do if I cannot access ssh after installing centos on vmware?. For more information, please follow other related articles on the PHP Chinese website!