git clone时报错“Failed to connect to 127.0.0.1 port 2453: Connection refused”如何处理?

1. 查看git的配置git

git config --global --list| grep -i proxyspa

若是有内容输出,那么unset配置项,如:it

git config --global --unset http.proxy变量

2. 查看环境变量配置

env | grep -i proxy终端

若是有内容输出,那么unset输出的变量,须要退出当前终端哦grep

unset http_proxy环境变量

相关文章
相关标签/搜索