无法在OSX Sierra中ping github [英] Cannot ping github in OSX Sierra

查看:73
本文介绍了无法在OSX Sierra中ping github的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为cocoapods复制github存储库,但我什至无法ping github.

Im trying to clone a github repo for cocoapods but i can't even ping github.

ping: cannot resolve https://github.com: Unknown host

推荐答案

https://github.com 不是主机名,它是一个URL.

https://github.com is not a host name, it's a URL.

主机为 github.com .

在我的计算机上,我得到:

On my computer I get:

$ ping https://github.com
ping: cannot resolve https://github.com: Unknown host

$ ping github.com
PING github.com (192.30.253.113): 56 data bytes
64 bytes from 192.30.253.113: icmp_seq=0 ttl=43 time=110.597 ms

这篇关于无法在OSX Sierra中ping github的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆