OpenSSL SSL_connect: Connection was reset in connection to github.com:443 git访问不到


拉取代码的时候出现443错误

fatal: unable to access 'https://github.com/xxx/xxxCloudy.git/': OpenSSL SSL_connect: Connection was reset in connection to github.com:443 

并且访问不到git

 

 

 

  

解决方式如下 

  • 站长ip解析

 

http://tool.chinaz.com/dns/?type=1&host=github.com&ip=

 

  • 编辑本地hosts文件

C:\Windows\System32\drivers\etc 文件夹下的hosts

 将刚才站长解析的ip地址写在里面

 

13.229.188.59 github.com

203.208.39.104 github.com

203.208.39.104 gist.github.com

13.229.188.59 gist.github.com

 重新刷新即可

  • 如果还是不行就清除dsn缓存

cmd 命令行执行 ipconfig/flushdns

ipconfig/flushdns

  

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM