xlizi

解决GitHub及其raw.githubusercontent.com等网站无法访问的问题

  1. 使用ip查询工具查询无法访问的域名IP地址。
  2. 将查询到的IP地址加入hosts中即可。
示例:解决 raw.githubusercontent.com 无法访问问题

linux mac 输入:
sudo vim /etc/hosts
添加以下内容即可:
151.101.108.133 raw.githubusercontent.com

Windows打开C:\Windows\System32\drivers\etc将host文件复制到桌面,添加以下内容,保存重新移动到源文件夹中即可
151.101.108.133 raw.githubusercontent.com

分类:

技术点:

相关文章:

  • 2021-11-18
  • 2021-12-06
  • 2021-10-06
  • 2021-11-07
  • 2022-01-22
  • 2021-07-26
  • 2022-01-19
  • 2021-08-14
猜你喜欢
  • 2022-01-04
  • 2021-05-11
  • 2021-07-01
  • 2021-11-21
  • 2021-04-21
  • 2021-08-13
相关资源
相似解决方案