[英]Failed to connect to github.com port 443: Connection refused, Failed to Bootstrap, Discourse Docker
[英]“fatal unable access [path] Failed connect gihub.com port 443 Connection refused” Trying to connect github repository - NOT using a proxy
我正在嘗試將我的第一個git存儲庫連接到github。
我遵循了從存儲庫中給出的命令:
git remote add origin https://github.com/[username]/git_practice.git
git push -u origin master
...並出現以下錯誤:
fatal: unable to access 'https://gihub.com/[username]/git_practice.git/': Failed to connect to gihub.com port 443: Connection refused
我四處搜尋,但似乎其他所有解決方案都只是修改git config文件以解決代理問題。 但是,我確認我沒有代理。
還有什么可能導致此錯誤,如何解決此問題?
PS在發出命令后一兩分鍾出現此錯誤,但沒有提示輸入用戶名/密碼。
PPS如果有用,這是我的git配置文件的內容:
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = https://gihub.com/acalvino4/git_practice.git
fetch = +refs/heads/*:refs/remotes/origin/*
哇,事實證明,我在遠程原始網址中有一個錯字('gihub'與'github')。 解決該問題的方法已解決。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.