最近GitHub進不去解決方法


1. 在系統中找到 hosts 文件

       Window:C:\Windows\System32\drivers\etc\hosts 或r Linux:/etc/hosts

 

2.以管理員身份打開cmd,然后打開hosts文件,具體如下:

   

      輸入:cd  C:\Windows\System32\drivers\etc

                 start hosts

3.文件末尾添加:

 

     # GitHub Start 
    140.82.114.4 github.com
    199.232.69.194 github.global.ssl.fastly.net
    # GitHub End

4.存盤退出

5.在 CMD 命令行中執行 ipconfig/flushdns


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM