How to solve the problem that Github can't visit in China?

  1. find path C:\Windows\System32\drivers\etc\host
  2. open DNS detection and DNS query-Webmaster(DNS查询) tool (http://tool.chinaz.com/dns)
  3. enter the domain name in the test input field (example: github.com)
  4. input the IP with the lowest TTL value in the detection list into hosts, and write the domain name accordingly

remark:The function of host file

  1. speed up domain name resolution(加快域名解析)
  2. convenient for LAN users(方便局域网用户)
  3. screened(屏蔽) website
  4. connecting the system smoothly
  5. force a domain name to correspond to an IP address

  

上一篇:Auto push git tag


下一篇:数据结构基础(1)--数组C语言实现--动态内存分配