错误:无法连接到github.com:8080; 拒绝连接

lge*_*ard 4 git git-clone

我知道这个问题并不新鲜,我一直在寻找答案,但是到目前为止,对我来说没有任何作用。

问题是每次我尝试使用a git clonegit pullcommand时,都会收到以下错误:

error: Failed connect to github.com:8080; Connection refused while accessing https://github.com/mxcl/homebrew.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)

(这里是https://github.com/mxcl/homebrew.git/info/refs?service=git-upload-pack,但这只是一个例子,我遇到了所有网址都存在此问题)

Joo*_*aat 5

检查是否已设置git http.proxyhttps.proxy配置,并同时取消设置两者。看到拉命令错误:无法连接到github.com:8080