git clone 报错Failed to connect to localhost port 7891: Connection refused

system: ubuntu18.04

pc: lenovo thinkpad p15v gen1

电脑有安装VPN软件,git clone 报错 Failed to connect to localhost port 7891: Connection refused,尝试了多种方法,都没有效果,最后是这篇文章解决git下载出现:Failed to connect to 127.0.0.1 port 1080: Connection refused拒绝连接错误_failed connect to 拒绝连接_点亮~黑夜的博客-CSDN博客

 中的unset指令有用。

unset https_proxy

猜你喜欢

转载自blog.csdn.net/j_____j/article/details/132494680