Problem restoration:
The Linux server cannot ping its own host name, as shown below:
Solution Method:
1. Modify the /etc/sysconfig/network configuration file
1 2 3 |
|
2. Modify the /etc/hosts configuration file
1 2 3 |
|
3. Restart the network service
1 |
|
Recommended tutorial: linux tutorial
The above is the detailed content of What should I do if Linux cannot ping the host name?. For more information, please follow other related articles on the PHP Chinese website!