影楼网站模板,模板规格,dw做网站详细教程,wifiu盘做网站最近参与了一个新项目#xff0c;在使用git clone 克隆代码时遇到了一个报错fatal: unable to access ‘https://example.git/’: Failed to connect to 127.0.0.1 port 31181: Connection refused,今天就和大家分享下解决过程。
报错详情
在使用git clone 克隆…最近参与了一个新项目在使用git clone 克隆代码时遇到了一个报错fatal: unable to access ‘https://example.git/’: Failed to connect to 127.0.0.1 port 31181: Connection refused,今天就和大家分享下解决过程。
报错详情
在使用git clone 克隆远程仓库的代码时报错fatal: unable to access ‘https://example.git/’: Failed to connect to 127.0.0.1 port 31181: Connection refused详情如下
报错原因
在windows中使用代理时由于一些其它的原因未能在关闭代理时修正对 git 客户端配置的影响。导致git的代理配置未能修改回来。
解决方法
取消代理
打开git bash窗口执行以下命令查看代理
git config --global http.proxy执行以下命令取消代理
git config --global --unset http.proxy