github登录不上的问题

1.C盘:\Windows\System32\drivers\etc,找到hosts文件

2.如果hosts文件没有权限,可以点击文件属性》安全,得到下面页面。按照顺序操作即可

3.第二步操作结束之后,已经获取hosts的文件修改权限,此时输入以下内容

# GitHub Start

140.82.113.3 github.com

140.82.114.20 gist.github.com

151.101.184.133 assets-cdn.github.com

151.101.184.133 raw.githubusercontent.com

199.232.28.133 raw.githubusercontent.com

151.101.184.133 gist.githubusercontent.com

151.101.184.133 cloud.githubusercontent.com

151.101.184.133 camo.githubusercontent.com

199.232.96.133 avatars.githubusercontent.com

151.101.184.133 avatars0.githubusercontent.com

199.232.68.133 avatars0.githubusercontent.com

199.232.28.133 avatars0.githubusercontent.com

199.232.28.133 avatars1.githubusercontent.com

151.101.184.133 avatars1.githubusercontent.com

151.101.108.133 avatars1.githubusercontent.com

151.101.184.133 avatars2.githubusercontent.com

199.232.28.133 avatars2.githubusercontent.com

151.101.184.133 avatars3.githubusercontent.com

199.232.68.133 avatars3.githubusercontent.com

151.101.184.133 avatars4.githubusercontent.com

199.232.68.133 avatars4.githubusercontent.com

151.101.184.133 avatars5.githubusercontent.com

199.232.68.133 avatars5.githubusercontent.com

151.101.184.133 avatars6.githubusercontent.com

199.232.68.133 avatars6.githubusercontent.com

151.101.184.133 avatars7.githubusercontent.com

199.232.68.133 avatars7.githubusercontent.com

151.101.184.133 avatars8.githubusercontent.com

199.232.68.133 avatars8.githubusercontent.com

199.232.96.133 avatars9.githubusercontent.com

# GitHub End

4.第三步操作结束,此时如果去登github,仍然登录不上。接下来需要对DNS进行刷新

ipconfig /displaydns # 显示dns缓存

ipconfig /flushdns # 刷新DNS记录

ipconfig /renew # 重请从DHCP服务器获得IP

5.打开CMD,输入ipconfig\flushdns.如果看到提示刷新成功,再去登录http://github.com就会显示登录了(20211020检测有效)

github登录不上的问题相关推荐

  1. Github登录不上、下载慢的解决方法

    Github登录不上.下载慢的解决方法 修改Hosts git clone 加速的小技巧 修改Hosts 最近登录Github要么出现延迟高的现象,要么直接拒绝连接请求,导致网站上不去,因此在网上寻找 ...

  2. Mac github登录不上

    在Finder模式下: ①快捷键shift+commend+G ②输入:/private/etc ③点击前往 右键etc选择显示简介,更改文件读写权限 用文本编辑器打开etc文件夹下面没有后缀的名字为 ...

  3. python 通过title判断_利用Python模拟GitHub登录

    点击关注,我们共同每天进步一点点! 最近学习了Fiddler抓包工具的简单使用,通过抓包,我们可以抓取到HTTP请求,并对其进行分析.现在我准备尝试着结合Python来模拟GitHub登录. Fidd ...

  4. linux 搭建github,github在linux上的环境搭建-Go语言中文社区

    Centos版 1.git的安装: yum  install  git yum  的配置详见:http://blog.csdn.net/qq_32345239/article/details/5243 ...

  5. github的python代码怎么跑_如何利用Python模拟GitHub登录详解

    前言 最近学习了Fiddler抓包工具的简单使用,通过抓包,我们可以抓取到HTTP请求,并对其进行分析.现在我准备尝试着结合Python来模拟GitHub登录. Fiddler抓包分析 首先,我们想要 ...

  6. django项目实现第三方github登录

    OAuth(开放授权 Open Authorization)是一个开放标准,允许用户授权第三方网站访问他们存储在另外的服务提供者上的信息,而不需要将用户名和密码提供给第三方网站或分享他们数据的所有内容 ...

  7. python github登陆_利用Python模拟GitHub登录!

    最近学习了Fiddler抓包工具的简单使用,通过抓包,我们可以抓取到HTTP请求,并对其进行分析.现在我准备尝试着结合Python来模拟GitHub登录. Fiddler抓包分析 首先,我们想要模拟一 ...

  8. Github 之 本地上传代码到 Github ,并且添加 .gitignore 文件 屏蔽一些文件上传(内附详细步骤)

    Github 之 本地上传代码到 github ,并且添加 .gitignore 文件 屏蔽一些文件上传(内附详细步骤) 目录 Github 之 本地上传代码到 github ,并且添加 .gitig ...

  9. 第三方登录之Github登录篇

    文章目录 前言 正文 创建App 图解流程: 编程实现 授权登录获取`access_token` 根据获取到的token信息请求用户信息 将用户信息存储到cookie中: 测试 后记 前言 在前面项目 ...

最新文章

  1. 程序员论坛炫耀公司福利:一线互联网公司的下午茶,什么水平?
  2. 2013 8.26   总结记录下,别忘了哈
  3. 2020年第一个候选Java增强提案已出现
  4. 【Kubernetes】离线业务:Job与CronJob
  5. React和设计良好的jQuery插件并没有什么不兼容的问题。
  6. Kubernetes架构为什么是这样的?
  7. OpenCV2:等间隔采样和局部均值的图像缩小
  8. 动态生成的html元素无法调用js函数,在调用js函数之前,如何确保将动态生成的div加载到DOM中?...
  9. Android 使用代码设置selector 的图片或文字颜色
  10. 力扣-1557. 可以到达所有点的最少点数目
  11. 拓端tecdat|SAS可视化高级ODS图形:PROC SGPLOT,BY组和SG注释
  12. 飞翔 nyoj195(贪心or 动态)
  13. 云计算要掌握哪些知识点 该怎么学云计算开发
  14. 一个安全删除文件的shell命令
  15. codeblock-(no debugging symbols found)(已解决)
  16. oracle分析函数用途,深入探讨:oracle中row_number() over()分析函数用法
  17. 使用sklearn进行对数据标准化、归一化以及将数据还原
  18. 在自己电脑运行Stable Diffusion和完整项目下载
  19. 用“芯”赋能数字孪生 | 数字冰雹出席英特尔渠道解决方案峰会
  20. 神经网络之手写数字识别

热门文章

  1. ResNet(残差网络)和梯度消失/爆炸
  2. USB Type-C学习点滴
  3. 寻找多数元素(主元素)
  4. 5个理由让你选择Go,抛弃Python
  5. 集合相等问题-蒙特卡罗算法
  6. xPU战国时代,算力服务会成为胜负手吗?
  7. 根本上解决Thinkbook 14p Gen2 ACH Linux睡眠或从Linux重启后SSD掉盘的问题
  8. Android算命小程序的实现
  9. /dev/zero是什么(详解)
  10. Redis的数据删除策略