小编Car*_*rey的帖子

ping:http://google.com:名称或服务未知

我在windows上的virtualbox中使用centos7.并且vagrant发了它,用http或https得到了ping错误.还卷曲.有人可以帮我解决问题并让它发挥作用.

[root@localhost ~]# ping google.com
PING google.com (61.91.161.217) 56(84) bytes of data.
64 bytes from chatenabled.mail.google.com (61.91.161.217): icmp_seq=1 ttl=43 time=404 ms
64 bytes from chatenabled.mail.google.com (61.91.161.217): icmp_seq=2 ttl=43 time=408 ms
64 bytes from chatenabled.mail.google.com (61.91.161.217): icmp_seq=3 ttl=43 time=407 ms
64 bytes from chatenabled.mail.google.com (61.91.161.217): icmp_seq=4 ttl=43 time=408 ms
^C
--- google.com ping statistics ---
5 packets transmitted, 4 received, 20% packet loss, time 4000ms
rtt min/avg/max/mdev = 404.297/407.234/408.956/1.887 ms
[root@localhost ~]# ping https://google.com
ping: https://google.com: Name or service not known …
Run Code Online (Sandbox Code Playgroud)

centos7

12
推荐指数
2
解决办法
5万
查看次数

标签 统计

centos7 ×1