The local host ping failure may be caused by the following problems:
The setting of the target server is incorrect. The domain name is not correctly resolved. Link failure
Under the premise of ensuring that the local network is normal (that is, you can ping other websites normally), you can troubleshoot according to the following operations:
Check whether the instance is configured with a public IP (Recommended learning: linux operation and maintenance)
Instructions:
The instance must A public IP is required to communicate with other computers on the Internet. If the instance does not have a public IP, the instance cannot be directly pinged from outside the internal IP.
Log in to the cloud server console.
In the "Instance List" page, select the instance ID/instance name that needs to be pinged to enter the details page of the instance. As shown in the figure below:
In the "Network Information" column, check whether the instance is configured with a public IP.
Yes, please check the security group settings.
No, please bind the elastic public IP.
The above is the detailed content of What should I do if the ping of Linux IP fails?. For more information, please follow other related articles on the PHP Chinese website!