Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot connect to github

Tags:

git

github

I'm in China and cannot pull, clone or push to github. I'm using a vpn but it still doesn't work. I'm working home from my computer, so it can't be my firewall. I also tried to turn it of briefly, but it didn't change anything.

fatal: unable to access '': Failed to connect to github.com port 443: Timed out.

I've tried setting and unsetting proxies, without success. I've googled for at least a couple of hours, but without prevail.

Any help would be very appreciated and valuable to me.

like image 654
cnohall Avatar asked Nov 24 '25 04:11

cnohall


1 Answers

If your git was already set to something and you only copied that folder to some other location, simply run:

git config --global http.proxy ""

And you can pull again :)

like image 89
Fahad Avatar answered Nov 25 '25 20:11

Fahad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!