Home > Article > Software Tutorial > (Solved) The problem that the virtual machine cannot ping the host
Question: The virtual machine cannot ping the host? The inability of a virtual machine to ping the host is a common problem that may affect the virtual machine's communication with the physical host. This article will detail the steps to resolve this issue. PHP editor Youzi has specially compiled the following content to help you solve this problem easily.
Generally, as long as the network connection method of the virtual machine is NAT, there will be no problem
2. If the virtual machine cannot ping the host
It is usually a problem with the host's firewall (Windows all have this problem)
1. Search Control Panel
2, System and Security->Firewall->Advanced System Settings->Inbound Rules
Start the following and set it to Allow.
Alternate method
If it doesn’t work after turning on the above, but you can ping after turning off the firewall, use the following method
This method is suitable for win10 and win server platforms
Open "Firewall Network Protection" and click the "Advanced Settings" option,
Then in the "Windows Defender Firewall with Advanced Security" dialog box, first click "Inbound Rules" in the directory tree on the left, then click "New Rule" in the menu bar on the right
Then select " Customize" checkbox, click Next,
In the "Protocol and Port" step, you need to configure the protocol type to ICMPv4,
keep the default options in other steps, and finally set the name to "ping command "Release" and click Finish.
The above is the detailed content of (Solved) The problem that the virtual machine cannot ping the host. For more information, please follow other related articles on the PHP Chinese website!