Git: fatal: unable to access 'http://10.215.143.96:8008/jncx/appgit/": Failed to connectto 10.215.143.96 port 8008 after 21067 ms: Timed out
时间: 2024-01-29 17:01:59 浏览: 178
解决git:fatal:Unable to create”…/.git/index.lock” 的错误
回答: 出现这个错误是因为无法连接到指定的服务器。根据提供的引用内容,有几种可能的解决方法。首先,可以尝试执行git pull命令时使用SSH协议而不是HTTPS协议,这可以通过修改远程仓库的URL来实现。其次,可以尝试解除git配置中的代理设置,可以使用命令git config --global --unset http.proxy和git config --global --unset https.proxy来实现。最后,还可以尝试检查网络连接是否正常,确保能够正常访问指定的服务器。希望这些方法能够帮助解决你的问题。
#### 引用[.reference_title]
- *1* [git pull出现fatal: unable to access ‘https://github.com/xxx.git‘: Failed to connect to github....](https://blog.csdn.net/xx780452700/article/details/124313274)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [下载Android源码,提示:fatal: unable to access 'https://gerrit.googlesource.com/git-repo/': Failed ...](https://blog.csdn.net/qq_34696209/article/details/88591735)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [解决git下载报错:fatal: unable to access ‘https://github.com/.../.git/‘:](https://blog.csdn.net/xyaicwj/article/details/125256149)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文