不论怎么使用都无法ping通,报错无法连接。

主要解决方案:

vi /etc/resolv.conf
添加:
nameserver 114.114.114.114
nameserver 8.8.8.8

重新测试解决BUG!