search

Home  >  Q&A  >  body text

github - Please help me, win10 git clone error, after struggling for several days, it still doesn’t work. It used to be fine before, but suddenly it happened like this.

Cloning into 'xxx'...
fatal: unable to access 'https://git.oschina.net/xxx/x...': Failed to connect to 127.0.0.1 port 443: Connection refused

迷茫迷茫2756 days ago962

reply all(3)I'll reply

  • 巴扎黑

    巴扎黑2017-06-05 11:10:37

    Ping git.oschina.net to see what the IP address is?

    Have you done local host resolution?
    Why is the IP address of git.oschina.net 127.0.0.1

    reply
    0
  • 大家讲道理

    大家讲道理2017-06-05 11:10:37

    You may have used the wrong git clone ssh:xxx or git clone https://xxx.git?

    reply
    0
  • 黄舟

    黄舟2017-06-05 11:10:37

    Solved, I don’t know how, my computer’s git proxy is 127.0.0.1,
    Execute git config - l to search,
    then git config --global --unset https.proxy and git config --global --unset http. proxy,
    it’s normal

    reply
    0
  • Cancelreply