亲测,解决Github官网无法访问

1、使用站长工具获取github官网ip地址

link
Github官网访问

2、修改hosts文件

hosts文件路径:C:\Windows\System32\drivers\etc\hosts
使用记事本打开hosts文件,在hosts文件末尾追加:
192.168.0.4 github.com git 本机IP地址
13.250.177.223 github.com 使用站长工具获取的github官网ip地址
修改后保存hosts文件。
Github官网访问

3、打开浏览器访问github官网

亲测,能够正常访问。

相关文章:

  • 2021-10-19
  • 2021-07-28
  • 2022-12-23
  • 2021-09-16
  • 2021-10-08
  • 2021-06-04
  • 2021-09-19
  • 2022-02-08
猜你喜欢
  • 2022-12-23
  • 2021-12-06
  • 2021-12-03
  • 2021-12-23
  • 2021-09-05
  • 2021-07-18
  • 2021-07-09
相关资源
相似解决方案