首先
检查服务是否开启
ping一下127.0.0.1检查网卡是否损坏
接着 a、
再检查网络---->属性---->更改适配器设置–>V8网卡
再检查虚拟机网卡配置文件
vim /etc/sysconfig/network-scripts/ifcfg-ens33
b、如果还不行 ,改成桥接模式
以上就是碰到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
- pip升级失败Failed to establish a new connection: [Errno -2] Name or service not known‘)‘: /simple/pip3/
- Linux报错之ping: www.baidu.com: Name or service not known
- CentOS ping www.baidu.com 报错 name or service not know
- (转)ping: www.baidu.com: Name or service not known centos7 -bash: ifconfig: command not found
- git提示错误关于错误:ssh: Could not resolve hostname github.com: Name or service not known.fatal: Could not read from remote repository.
- linux系统部署Java程序获取ip时报Caused by: java.net.UnknownHostException: XXXXXXXXXX: XXXXXXXXXX: Name or service not known