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. SpringCloud Alibaba微服务实战(二) - Nacos服务注册与restTemplate消费
  2. Linux 多线程同步机制:互斥量、信号量、条件变量
  3. 简单php不用mysql_简单的PHP / MySQL不工作
  4. 快速排序算法-php实现
  5. 基于.NetCore结合docker-compose实践Gitlab-CI/CD 排坑指南
  6. android屏幕录制鸿洋,Android之自定义View笔记(鸿洋)
  7. Spring Mvc 数据回显、异常处理、文件上传、json交互、ResTful、拦截器的使用(高级三)
  8. 中移4G模块-ML302-OpenCpu开发-(MQTT连接阿里云-RRPC通讯)
  9. cpu 被挂起和阻塞_同步异步阻塞非阻塞并发并行讲解
  10. 《区块链开发指南》一一导读
  11. JDK自带的int值的sun.text.IntHashtable
  12. 计算机选修论文,【计算机专业论文】论计算机专业选修课的实践(共2142字)
  13. linux动态频率调节系统cpufreq,Linux的cpufreq(动态变频)技术
  14. 蓝桥杯:调和级数————Python
  15. 关于MDL的一些事(2)
  16. 【考研高数-高等数学-基础】第二章 导数与微分
  17. 什么是共享办公室,你想知道的都在这
  18. 小米将推运动相机无疑,但它进入的是个怎样的市场?
  19. 我所理解的技术领导力
  20. 成像系统--3.镜头

热门文章

  1. R语言循环处理数据框
  2. SQL Server 2008 数据库迁移方法
  3. 2022 首发 鲸发卡v11.61系统源码 开心修复版
  4. 现在请你编写一个程序来帮助老王模拟苹果分级的操作吧
  5. 帆软iframe 嵌套页面,dom操作
  6. UE4骨架网格体动画系统(1)
  7. 告诉你微信朋友圈29小时入账960万!(下)
  8. html字两边的横线_CSS,中间文字 两边横线 CSS样式写法
  9. RadioButton单选按钮
  10. UNI-APP开发之HbuilderX连接到夜神模拟机运行