"fatal unable access [path] Failed connect gihub.com port 443 Connection refused" 正在尝试连接 github 存储库 - 不使用代理
"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 配置文件以说明代理。但是,我确认我没有使用代理。
还有什么可能导致此错误,我该如何解决此问题?
P.S。发出命令后一两分钟出现此错误,但没有提示输入 username/password.
P.P.S。如果有帮助,这里是我的 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/*
哇,原来我只是在远程源 url 中打错了字('gihub' vs 'github')。
解决问题。
我正在尝试将我的第一个 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 配置文件以说明代理。但是,我确认我没有使用代理。
还有什么可能导致此错误,我该如何解决此问题?
P.S。发出命令后一两分钟出现此错误,但没有提示输入 username/password.
P.P.S。如果有帮助,这里是我的 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/*
哇,原来我只是在远程源 url 中打错了字('gihub' vs 'github')。 解决问题。