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

  

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

原文地址:https://www.cnblogs.com/sunshinexiu/p/12433538.html

时间: 2024-10-10 18:16:13

How to solve the problem that Github can't visit in China?的相关文章

solve the problem of 'java web project cannot display verification code'

my java code of the function: package com.util; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.io.IOException; import java.util.Random; import javax.servlet.ServletException;

ubuntu:solve the problem of 'E:Problem with MergeList /var/lib/apt/lists/'

just run this command: sudo rm /var/lib/apt/lists/* -vfR it will remove all the software package with the state of 'apt-get install' and no use to leave them, that's ok to just r.m. other conditons can refer to this article:http://blog.csdn.net/gopai

How to solve the problem : "You have been logged on with a temporary profile"

/*By Jiangong SUN*/ I've encountered a problem in one server, which is : Every time I login into the server, it creates a new temporary user profile for my account. Here is the error message: "You have been logged on with a temporary profile. You can

2.7 编程之美--最大公约数的3种解法[efficient method to solve gcd problem]

[本文链接] http://www.cnblogs.com/hellogiser/p/efficient-method-to-solve-gcd-problem.html [题目] 求两个正整数的最大公约数Greatest Common Divisor (GCD).如果两个正整数都很大,有什么简单的算法吗?例如,给定两个数1 100 100 210 001, 120 200 021,求出其最大公约数. [解法] [1. 辗转相除法] 辗转相除法:f(x,y) = f(y , x % y)(x>y

We can solve any problem by introducing an extra level of indirection

As reading the C++ template metaprogramming, I learn the famous saying in software engineering again. How to understand this remark in the context of C++ template metaprogramming? What we have to mention is the type trait skill, I'd like to reference

Install Different Node Version on Mac

Whether npm or other front-ent package manager tools are all writtent by node, therefor, if we want to use it, we should install node at first. https://nodejs.org/en/ After installing node, we will get npm to manage your javascript packages. As we al

Y460/Y470 Nvidia optirum solution : switch off the nvidia card and solve screen flash problem

i have such a long time fall in love with ubuntu , but i found it's much unconfortable for me with a lenovo y460n , that owning a intel display card and a Nvidia GT425M card . once i install ubuntu (from 10.04 , 12.04 , 14.04 , so many versions i had

How to solve TFS slow response problem?

/* Author : Jiangong SUN */ Assume that your environment is Visual studio and TFS server. At one day, when you make modifications in your solution, such as, create a new file, or update a file name. Then visual studio takes a long time to respond. Yo

Resolving Branch Specific Azure Template Links in Github Repositories--解决GitHub Azure REAEDME.MD的URL定向问题

转自<https://blogs.msdn.microsoft.com/mihansen/2017/12/13/resolving-branch-specific-azure-template-links-in-github-repositories/> The Problem The Azure Resource Manager is the primary tool or orchestrating deployments in Azure. Using Azure Resource Ma