current position:Home>Solution to GitHub failure or slow access

Solution to GitHub failure or slow access

2022-01-27 02:22:04 1024_ Byte

One 、 modify hosts file

hosts The directory of the file :C:\Windows\System32\drivers\etc

Open it with notepad , Notepad needs to be opened with administrator privileges , The method is as follows :

1、 Search notepad in the search bar
 Insert picture description here

2、 Right click to open notepad with administrator privileges
 Insert picture description here

3、 Select the file in the top left corner in Notepad —> open

 Insert picture description here

4、 Enter... In the address bar above the file selection window C:\Windows\System32\drivers\etc enter
 Insert picture description here

5、 Change the lower right corner to all files
 Insert picture description here

6、 choice hosts file , Click on the open

Add the following at the end :

 Insert picture description here

7、 Press CTRL+S preservation , Then close it

Successful visit

Two 、 If you just want to open it on your phone

     Download a quark browser , I can't even open my home network with other browsers , Then the browser can open , Or maybe it uses some kind of acceleration principle , Not clear , Anyway, you can use this on your mobile phone to open .

author : The little captain of heaven Source :bilibili

copyright notice
author[1024_ Byte],Please bring the original link to reprint, thank you.

Random recommended