clone报错fatal: unable to access ‘https://github.com/...‘: Failed to connect to github.com port
clone报错fatal: unable to access ‘https://github.com/…’: Failed to connect to github.com port 443 after 21096 ms: Couldn’t connect to serverclone时报错如下所示
https://dis.qidao123.com/imgproxy/aHR0cHM6Ly9pLWJsb2cuY3NkbmltZy5jbi9ibG9nX21pZ3JhdGUvYzU1ZjBhYTI5Nzk5MDUwNjExZDFlYzcwYzQ2NDhiNjEucG5n
缘故原由是本机署理端口和git端口不划一。
办理方法
第一步、找到本机署理端标语(红框部门)
https://dis.qidao123.com/imgproxy/aHR0cHM6Ly9pLWJsb2cuY3NkbmltZy5jbi9ibG9nX21pZ3JhdGUvYjk3ZWU4Y2I1ZTYyOGU5ODg2ZjIwMWVmYzM2OWFiOGYucG5n
第二步、修改git端标语
在git-bash实行如下两条指令
git config --global http.proxy http://127.0.0.1:红框端口号
git config --global https.proxy http://127.0.0.1:红框端口号
题目办理!
参考资料
[报错办理] Failed to connect to github.com port 443 after ***** ms: Couldn‘t connect to server
GitHub 新手具体教程
页:
[1]