解决IDEA使用Git推送代码失败问题

推送时出现问题描述:

fatal: unable to access ‘https://github.com/xxxx/xxxxxSys.git/’: Failed to connect to 127.0.0.1 port 10810 after 2063 ms: Couldn’t connect to server

尝试不使用代理,取消Git的代理设置:

取消HTTP代理配置:git config --global --unset http.proxy
取消HTTPS代理配置:git config --global --unset https.proxy

这会移除全局代理设置,让Git直接连接到Internet。

猜你喜欢

转载自blog.csdn.net/shysea2019/article/details/136734613