【发布时间】:2019-04-27 21:10:54
【问题描述】:
我刚刚安装了 Windows 10、Visual Studio Community 2015 和 Git for Windows。我还安装了最新的 Bitbucket 和 GitHub 扩展。
在 Visual Studio 中,我克隆了我的 Bitbucket.com 托管存储库,并成功执行了这些操作:
$ git --version
git version 2.19.2.windows.1
$ git pull
Already up to date.
但是当我尝试从另一个存储库中提取时,我收到了这个错误:
$ git pull git://github.com/aegif/CmisSync.git
fatal: unable to lookup github.com (port 9418) (Either the application has not called WSAStartup, or WSAStartup failed. )
我可以 ping github.com。
我该如何调查和解决问题?
【问题讨论】:
-
如果我尝试在本地计算机上启动
$ git daemon,我会遇到类似的错误。对于 WSAStartup 调用,它失败并显示类似的消息,并且无法在端口 9418 上侦听。我认为问题可能类似,但我还没有找到任何解决方案。编辑:我也在使用相同的 git 版本 -git version 2.19.2.windows.1
标签: git github winsock github-for-windows wsastartup