Git clone报错fatal: unable to access ‘xxxx‘: Failed to connect toxxxx port 80 : Connection refused

今天使用git clone 某一个项目的时候,出现了报错,如下。        

Trouble Shooting:

还是需要针对报错信息,具体分析。

看到有博主写的刷新DNS的方法,试了,不行。

Git clone报错fatal: unable to access ‘xxxx‘: Failed to connect toxxxx port 80 : Connection refused_第1张图片

于是乎,各种找办法,还是不行。

最后,git clone 后面的地址改成红色箭头标注的就行。

Git clone报错fatal: unable to access ‘xxxx‘: Failed to connect toxxxx port 80 : Connection refused_第2张图片

而之所以出现了错误,是因为使用的绿色框框的内容。

Git clone报错fatal: unable to access ‘xxxx‘: Failed to connect toxxxx port 80 : Connection refused_第3张图片

不过,还知道了,git clone --list 的命令用途。

Git clone报错fatal: unable to access ‘xxxx‘: Failed to connect toxxxx port 80 : Connection refused_第4张图片

你可能感兴趣的:(git)