使用idea1拉取gitlab的时候一直clone failed,出现unable to access 'http://119.45.160.92:8010/kg-llm-group/yudao-boot-mini.git/': Failed to connect to 127.0.0.1 port 7890 after 2052 ms: Couldn't connect to server报错,检测了网址和token没有问题
使用命令检测git代理地址
git config --global http.proxy
git config --global https.proxy
最后发现是以前配置了代理,导致端口号不一致
在终端输入下面代码即可
git config --global --unset http.proxy
git config --global --unset https.proxy