首先
检查服务是否开启
ping一下127.0.0.1检查网卡是否损坏
接着 a、
再检查网络---->属性---->更改适配器设置–>V8网卡
再检查虚拟机网卡配置文件
vim /etc/sysconfig/network-scripts/ifcfg-ens33
b、如果还不行 ,改成桥接模式
以上就是碰到Name or service not known 的解决方法
欢迎补充。。。。。。。
相关文章
- mysql显示错误日志 [Warning] IP address ‘xxxx‘ could not be resolved: Name or service not known错误解决
- 解决git clone出错 ssh: Could not resolve hostname : Name or service not known fatal...
- 本地运行项目成功 ,但在服务器运行程序就会报Failed to establish a new connection: [Errno -2] Name or service not known
- linux ping报错Name or service not known
- centos7 ping: www.baidu.com: Name or service not known
- CentOS 7.6虚拟机ping: www.baidu.com: Name or service not known
- 关于ping: www.baidu.com: Name or service not known
- 编写集群分发脚本scp报错Name or service not known lost connection
- VMware 配置ip 、 centos7 ping不通 name or service not known
- git clone 时报错,提示 ssh: Could not resolve hostname github.com: Name or service not known