簡體   English   中英

錯誤:連接到github.com:8080失敗;拒絕連接

[英]error: Failed connect to github.com:8080; Connection refused

我知道這個問題不是新問題,我一直在尋找答案,但直到現在一切都沒有用。

問題是,每次我嘗試git clonegit pull命令時,都會收到以下錯誤:

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

(這里是https://github.com/mxcl/homebrew.git/info/refs?service=git-upload-pack,但這只是一個例子,我有這個問題所有的URL)

檢查你是否有git http.proxyhttps.proxy配置集,並取消設置兩者。 請參閱pull命令錯誤:連接到github.com:8080失敗

嘗試在推或拉之前設置公共/私有rsa密鑰對。

ssh-keygen -t rsa -C "youremailid@xxxx.com"

在此輸入圖像描述

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM