問題
git push 出現(xiàn):
fatal: unable to access 'xxx': Failed to connect to github.com port 443: Timed out
解決辦法:
配置 hosts必盖。
如下:
# 以下配置是解決 github 無法訪問的問題沫屡。ip 來自 https://ipaddress.com/
140.82.114.4 github.com
199.232.69.194 github.global.ssl.fastly.net
185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com
其中饵隙,ip 來自 https://ipaddress.com/,在 https://ipaddress.com/ 網(wǎng)站中搜索域名.
-
github.com ( github.global.ssl.fastly.net類似)
-
assets-cdn.github.com