首页 > 解决方案 > 无法 ping github,但可以在我的工作场所通过浏览器访问 github。我运气不好?

问题描述

我可以通过工作场所的浏览器访问 Github,但不能 git clone 因为

fatal: unable to access 'http://github.com/user/project.git/': Could not resolve host: github.com

我无法 ping github.com。显然,我的公司没有将 github 列入白名单。

有没有办法在 Chrome 中打开的端口 80/443 上搭载?我需要将控制台命令从

git clone http://github.com/user/project.git

让我通过 80/443 的其他事情。这是可能的还是我不走运?我可以下载一个 zip,但宁愿克隆它。

谢谢您的帮助!

标签: gitnetworkingproxyhttp-proxy

解决方案


推荐阅读