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 拒绝连接_点亮~黑夜的博客-优快云博客
中的unset指令有用。
unset https_proxy
文章讲述了在运行Ubuntu18.04的LenovoThinkPadP15vGen1电脑上,配置了VPN后遇到Gitclone报错的问题,通过执行`unsethttps_proxy`命令解决了Connectionrefused错误,提供了在类似问题中的一种解决方案。
4万+





