当前位置:   article > 正文

win10修改hosts文件保存不了,提示写保护_hosts is write-protected

hosts is write-protected

访问github总是访问不了,科学上网的方法也时灵时不灵。网上普遍的修改hosts文件,但是我却怎么也保存不了修改的hosts文件,有人说用管理员权限或者提升用户的操作权限,但是我依然保存不了hosts文件。

忽然有一天,被GitHub的timing out逼疯的我再次尝试修改hosts,然后发现了个小细节,去掉只读就能保存hosts文件了(严重怀疑我之前改不了都是因为勾了只读。。。)

另外附上github的最新hosts内容

  1. # GitHub520 Host Start
  2. 140.82.113.25 alive.github.com
  3. 140.82.113.25 live.github.com
  4. 185.199.108.154 github.githubassets.com
  5. 140.82.112.22 central.github.com
  6. 185.199.108.133 desktop.githubusercontent.com
  7. 185.199.108.153 assets-cdn.github.com
  8. 185.199.108.133 camo.githubusercontent.com
  9. 185.199.108.133 github.map.fastly.net
  10. 199.232.69.194 github.global.ssl.fastly.net
  11. 140.82.114.3 gist.github.com
  12. 185.199.108.153 github.io
  13. 140.82.113.4 github.com
  14. 192.0.66.2 github.blog
  15. 140.82.112.6 api.github.com
  16. 185.199.108.133 raw.githubusercontent.com
  17. 185.199.108.133 user-images.githubusercontent.com
  18. 185.199.108.133 favicons.githubusercontent.com
  19. 185.199.108.133 avatars5.githubusercontent.com
  20. 185.199.108.133 avatars4.githubusercontent.com
  21. 185.199.108.133 avatars3.githubusercontent.com
  22. 185.199.108.133 avatars2.githubusercontent.com
  23. 185.199.108.133 avatars1.githubusercontent.com
  24. 185.199.108.133 avatars0.githubusercontent.com
  25. 185.199.108.133 avatars.githubusercontent.com
  26. 140.82.113.9 codeload.github.com
  27. 52.217.32.164 github-cloud.s3.amazonaws.com
  28. 52.217.164.49 github-com.s3.amazonaws.com
  29. 52.217.164.49 github-production-release-asset-2e65be.s3.amazonaws.com
  30. 52.216.134.83 github-production-user-asset-6210df.s3.amazonaws.com
  31. 52.217.105.188 github-production-repository-file-5c1aeb.s3.amazonaws.com
  32. 185.199.108.153 githubstatus.com
  33. 64.71.144.202 github.community
  34. 23.100.27.125 github.dev
  35. 140.82.112.22 collector.github.com
  36. 13.107.43.16 pipelines.actions.githubusercontent.com
  37. 185.199.108.133 media.githubusercontent.com
  38. 185.199.108.133 cloud.githubusercontent.com
  39. 185.199.108.133 objects.githubusercontent.com
  40. # Update time: 2022-03-04T20:06:32+08:00
  41. # Update url: https://raw.hellogithub.com/hosts
  42. # Star me: https://github.com/521xueweihan/GitHub520
  43. # GitHub520 Host End

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/559628
推荐阅读
相关标签
  

闽ICP备14008679号