HTTP clone could not work

Hi, I ran into an HTTP clone problem.I can pull the code over SSH, but I can’t use HTTP clone.

I thought it was a port problem, but after I replaced the port, HTTP Clone still failed.The error message is as follows.

Fatal: unable to access "" : Failed connect to;Connection refused

At the same time, I couldn’t open by Google browser at

Please help me solve the problem. Thank you very much.



Does your environment/browser use a configured proxy for HTTP requests? If yes, you can try configuring proxies into your Git settings before attempting a clone/fetch.

In the final screenshot, your browser appears to be loading the GitLab pages over port 8180, but the attempt to connect through Git HTTP URL was using 80 or 8181 instead. Does trying with 8180 work instead?

Please share some more details on how your GitLab instance and its network route to your workstation is setup.

1 Like

Wow, thank you for your answer. :grinning:

Before, I thought they could work on different ports.I set them on the same port as you suggested.‘clone with HTTP’ is working now . :laughing:
Thank you so much!