centos7 Failed connect to github.com:443; Connection refused

This is often due to firewall settings, incorrect proxy configurations, or DNS problems. 

解决方法:

firewall-cmd --permanent --add-service=https

firewall-cmd --reload

# or stop firewalld

systemctl stop firewalld

systemctl disable firewalld

systemctl mask firewalld

End!

posted @ 2026-01-10 05:27  君莫笑我十年游  阅读(2)  评论(0)    收藏  举报