The solution for Google search failure, Google Gmail mailbox, and failure to log on to related services

Source: Internet
Author: User
Google cannot be opened because Google cannot be closed in mainland China. However, Google server has recently made another global layout adjustment.

The solution is to modify the hosts file of the user's local computer.

I. How to change the hosts file in Windows

The Windows Hosts file is on the C drive of the local computer. The path is c: \ windows \ system32 \ drivers \ etc.

Use the TXT file in notepad to open the hosts file.

(If you are prompted that you do not have the management permission, copy and paste the hosts file to your desktop. Double-click the hosts file on the desktop, open it in notepad, add code changes, save it, copy the hosts file on the desktop, and paste it to the c: \ windows \ system32 \ drivers \ etc directory, the computer prompts "replace". Click "yes" to replace the original hosts file .)


In the hosts file, move the mouse cursor to the end of the code at the bottom, press enter to wrap the line, and then add the following code (# is not added before the Code #):


203.208.46.176 0-focus-opensocial.googleusercontent.com
203.208.46.176 3hdrrlnlknhi77nrmsjnjr152ueo3soc-a-calendar-opensocial.googleusercontent.com
203.208.46.176 accounts.google.com
203.208.46.176 ajax.googleapis.com
203.208.46.176 android.l.google.com
203.208.46.176 a-oz-opensocial.googleusercontent.com
203.208.46.176 apis.google.com
203.208.46.176 appengine.google.com
203.208.46.176 bks0.books.google.com
203.208.46.176 bks1.books.google.com
203.208.46.176 bks2.books.google.com
203.208.46.176 bks3.books.google.com
203.208.46.176 bks4.books.google.com
203.208.46.176 bks5.books.google.com
203.208.46.176 bks6.books.google.com
203.208.46.176 bks7.books.google.com
203.208.46.176 bks8.books.google.com
203.208.46.176 bks9.books.google.com
203.208.46.176 blogsearch.google.cn
203.208.46.176 blogsearch.google.com.hk
203.208.46.176 books.google.com
203.208.46.176 browserchannel-docs.l.google.com
203.208.46.176 browserchannel-spreadsheets.l.google.com
203.208.46.176 browsersync.google.com
203.208.46.176 cache.pack.google.com
203.208.46.176 calendar.google.com
203.208.46.176 chatenabled.mail.google.com
203.208.46.176 checkout.google.com
203.208.46.176 chrome.google.com
203.208.46.176 clients1.google.com
203.208.46.176 clients1.googleusercontent.com
203.208.46.176 clients2.google.com
203.208.46.176 clients2.googleusercontent.com
203.208.46.176 clients3.google.com
203.208.46.176 clients3.googleusercontent.com
203.208.46.176 clients4.google.com
203.208.46.176 clients4.googleusercontent.com
203.208.46.176 clients5.google.com
203.208.46.176 clients5.googleusercontent.com
203.208.46.176 clients6.google.com
203.208.46.176 clients6.googleusercontent.com
203.208.46.176 clients7.google.com
203.208.46.176 clients7.googleusercontent.com
203.208.46.176 code.google.com
203.208.46.176 csi.gstatic.com
203.208.46.176 shorttop.google.com
203.208.46.176 paitop2.google.com
203.208.46.176 ditu.google.cn
203.208.46.176 ditu.google.com
203.208.46.176 dl.google.com
203.208.46.176 docs.google.com
203.208.46.176 earth.google.com
203.208.46.176 encrypted.google.com
203.208.46.176 encrypted.google.com.hk
203.208.46.176 encrypted-tbn0.google.com
203.208.46.176 encrypted-tbn1.google.com
203.208.46.176 encrypted-tbn2.google.com
203.208.46.176 encrypted-tbn3.google.com
203.208.46.176 feedback.googleusercontent.com
203.208.46.176 finance.google.com
203.208.46.176 fonts.googleapis.com
203.208.46.176 g0.gstatic.com
203.208.46.176 gg.google.com
203.208.46.176 ghs.google.com
203.208.46.176 ghs.l.google.com
203.208.46.176 Google.com
203.208.46.176 google.com.hk
203.208.46.176 googlecl.googlecode.com
203.208.46.176 googlehosted.l.googleusercontent.com
203.208.46.176 id.google.cn
203.208.46.176 id.google.com
203.208.46.176 id.google.com.hk
203.208.46.176 images.google.com
203.208.46.176 images.google.com.hk
203.208.46.176 images0-focus-opensocial.googleusercontent.com
203.208.46.176 images1-focus-opensocial.googleusercontent.com
203.208.46.176 images2-focus-opensocial.googleusercontent.com
203.208.46.176 images3-focus-opensocial.googleusercontent.com
203.208.46.176 images4-focus-opensocial.googleusercontent.com
203.208.46.176 images5-focus-opensocial.googleusercontent.com
203.208.46.176 images6-focus-opensocial.googleusercontent.com
203.208.46.176 images-lso-opensocial.googleusercontent.com
203.208.46.176 images-oz-opensocial.googleusercontent.com
203.208.46.176 images-pos-opensocial.googleusercontent.com
203.208.46.176 investor.google.com
203.208.46.176 khms0.google.com
203.208.46.176 khms1.google.com
203.208.46.176 labs.google.com
203.208.46.176 large-uploads.l.google.com
203.208.46.176 lh1.ggpht.com
203.208.46.176 lh1.googleusercontent.com
203.208.46.176 lh2.ggpht.com
203.208.46.176 lh2.googleusercontent.com
203.208.46.176 lh3.ggpht.com
203.208.46.176 lh3.googleusercontent.com
203.208.46.176 lh4.ggpht.com
203.208.46.176 lh4.googleusercontent.com
203.208.46.176 lh5.ggpht.com
203.208.46.176 lh5.googleusercontent.com
203.208.46.176 lh6.ggpht.com
203.208.46.176 lh6.googleusercontent.com
203.208.46.176 m.google.com
203.208.46.176 mail.google.com
203.208.46.176 mail-attachment.googleusercontent.com
203.208.46.176 maps.google.cn
203.208.46.176 maps.google.com
203.208.46.176 maps.gstatic.cn
203.208.46.176 maps.gstatic.com
203.208.46.176 maps-api-ssl.google.com
203.208.46.176 mt0.google.cn
203.208.46.176 mt0.google.com
203.208.46.176 mt1.google.cn
203.208.46.176 mt1.google.com
203.208.46.176 mt2.google.cn
203.208.46.176 mt2.google.com
203.208.46.176 mt3.google.cn
203.208.46.176 mt3.google.com
203.208.46.176 mts0.google.com
203.208.46.176 mts1.google.com
203.208.46.176 music.google.com
203.208.46.176 music.googleusercontent.com
203.208.46.176 music-streaming.l.google.com
203.208.46.176 mw2.google.com
203.208.46.176 news.google.cn
203.208.46.176 news.google.com
203.208.46.176 news.google.com.hk
203.208.46.176 newsfeed-dot-latest-dot-rovio-ad-engine.appspot.com
203.208.46.176 nt0.ggpht.com
203.208.46.176 nt1.ggpht.com
203.208.46.176 nt2.ggpht.com
203.208.46.176 nt3.ggpht.com
203.208.46.176 oauth.googleusercontent.com
203.208.46.176 ode25pfjgmvpquh3b1oqo31ti5ibg5fr-a-calendar-opensocial.googleusercontent.com
203.208.46.176 pack.google.cn
203.208.46.176 pack.google.com
203.208.46.176 picasa.google.com
203.208.46.176 picasaweb.google.com
203.208.46.176 picasaweb.google.com.hk
203.208.46.176 places.google.com
203.208.45.200 plus.google.com
203.208.46.176 plus.google.com.hk
203.208.46.176 plusone.google.com
203.208.46.176 pop.gmail.com
203.208.46.176 profiles.google.com
203.208.46.176 project-slingshot-gp.appspot.com
203.208.46.176 r3269-dot-latest-dot-project-slingshot-gp.appspot.com
203.208.46.176 s1.googleusercontent.com
203.208.46.176 s2.googleusercontent.com
203.208.46.176 s3.googleusercontent.com
203.208.46.176 s4.googleusercontent.com
203.208.46.176 s5.googleusercontent.com
203.208.46.176 s6.googleusercontent.com
203.208.46.176 safebrowsing.clients.google.com
203.208.46.176 safebrowsing-cache.google.com
203.208.46.176 sandbox.google.com
203.208.46.176 scholar.google.cn
203.208.46.176 scholar.google.com
203.208.46.176 scholar.google.com.hk
203.208.46.176 scholar.l.google.com
203.208.46.176 services.google.com
203.208.46.176 sites.google.com
203.208.46.176 sketchup.google.com
203.208.46.176 spreadsheets.google.com
203.208.46.176 ssl.google-analytics.com
203.208.46.176 ssl.gstatic.com
203.208.46.176 suggestqueries.google.com
203.208.46.176 t.doc-0-0-sj.sj.googleusercontent.com
203.208.46.176 t0.gstatic.com
203.208.46.176 t1.gstatic.com
203.208.46.176 t2.gstatic.com
203.208.46.176 t3.gstatic.com
203.208.46.176 talkgadget.google.com
203.208.46.176 talkx.l.google.com
203.208.46.176 themes.googleusercontent.com
203.208.46.176 toolbar.google.com
203.208.46.176 toolbar.google.com.hk
203.208.46.176 toolbarqueries.clients.google.com
203.208.46.176 toolbarqueries.google.com.hk
203.208.46.176 tools.google.com
203.208.46.176 translate.google.cn
203.208.46.176 translate.google.com
203.208.46.176 translate.google.com.hk
203.208.46.176 translate.googleapis.com
203.208.46.176 uploadsj.clients.google.com
203.208.46.176 v8mq9slfbk1dglresapkg0i5f8pm64lc-a-calendar-opensocial.googleusercontent.com
203.208.46.176 video.google.cn
203.208.46.176 video.google.com
203.208.46.176 video.google.com.hk
203.208.46.176 voice.google.com
203.208.46.176 wave.google.com
203.208.46.176 webcache.googleusercontent.com
203.208.46.176 wenda.google.com.hk
203.208.46.176 www.gmail.com
203.208.46.180 www.google.com
203.208.46.176 www.google.com.hk
203.208.46.176 www.googleadservices.com
203.208.46.176 www.google-analytics.com
203.208.46.176 www.googleapis.com
203.208.46.176 www.googlelabs.com
203.208.46.176 www.gstatic.com
203.208.46.176 www-calendar-opensocial.googleusercontent.com
203.208.46.176 www-opensocial.googleusercontent.com
203.208.46.176 www-oz-opensocial.googleusercontent.com
203.208.46.176 bt26mravu2qpe56n8gnmjnpv2inl84bf-a-oz-opensocial.googleusercontent.com
203.208.46.176 rbjhe237k979f79d87gmenp3gejfonu9-a-oz-opensocial.googleusercontent.com
203.208.46.176 k6v18tjr24doa89b55o3na41kn4v73eb-a-oz-opensocial.googleusercontent.com
203.208.46.176 8kubpeu8314p2efdd7jlv09an9i2ljdo-a-oz-opensocial.googleusercontent.com
203.208.46.176 adstvca8k2ooaknjjmv89j22n9t676ve-a-oz-opensocial.googleusercontent.com
203.208.46.176 ob7f2qc0i50kbjnc81vkhgmb5hsv7a8l-a-oz-opensocial.googleusercontent.com
203.208.46.176 53rd6p0catml6vat6qra84rs0del836d-a-oz-opensocial.googleusercontent.com
203.208.46.176 u807isd5egseeabjccgcns005p2miucq-a-oz-opensocial.googleusercontent.com
203.208.46.176 r70rmsn4s0rhk6cehcbbcbfbs31pu0va-a-oz-opensocial.googleusercontent.com
203.208.46.176 59cbv4l9s05pbaks9v77vc3mengeqors-a-oz-opensocial.googleusercontent.com
203.208.46.176 i8brh95qor6r54nkl52hidj2ggcs4jgm-a-oz-opensocial.googleusercontent.com
203.208.46.176 upt14k1i2veesusrda9nfotcrbp9d7p5-a-oz-opensocial.googleusercontent.com
203.208.46.176 debh8vg7vd93bco3prdajidmm7dhql3f-a-oz-opensocial.googleusercontent.com
203.208.46.176 4fjvqid3r3oq66t548clrdj52df15coc-a-oz-opensocial.googleusercontent.com
203.208.46.176 hsco54a20sh11q9jkmb51ad2n3hmkmrg-a-oz-opensocial.googleusercontent.com
203.208.46.176 qhie5b8u979rnch1q0hqbrmbkn9estf7-a-oz-opensocial.googleusercontent.com
203.208.46.176 e6ha3snmi09c57cs4h4dnoa006cgfjfu-a-oz-opensocial.googleusercontent.com
203.208.46.176 66fl6oqbdsqf5fjl032t5iulimtqjhpa-a-oz-opensocial.googleusercontent.com


The Code is a little long and can be copied directly. Then I opened Google search, Gmail mailbox, or Google-related services again to see if it was fast ?!

If you use goagentfan_qiang, you can add 203.208.46.176 to the "google_cn =" section in the iplist in the proxy. ini file in the local directory.


Ii. How to change the hosts file in Apple Mac System

Method 1: Open the terminal (terminal) in the application, enter sudo VI/etc/hosts and press Enter. Then, the system prompts you to enter the boot password, and the hosts file is automatically opened.
Enter the I in English and enter the editing mode. Copy the above Code (the same as the code in the Windows system). After editing, Press ESC to exit and enter: WQ is saved.

Another method is to start the root account and change it directly. Open the terminal and enter sudo open/applications/textedit. APP/contents/MACOs/textedit/etc/hosts to edit the hosts in text.


3. How to manually change the hosts file on the Android phone

Android phones are closely related to Google accounts. Many times Google accounts cannot be logged on, making Android unusable.

On the computer, we can solve the Google login problem by modifying the hosts method. This method can also be used on Android phones.

The detailed operation method is as follows:

1. First, let the Android mobile phone get the root permission through various methods, then execute the root explorer manager, enter the writable state, find the/system/etc/hosts file, and change its permission to writable.

2. Open terminal emulator, enter Su, enter the root mode, enter the VI/system/etc/hosts command, and press I to enter the editing mode, then, enter the hosts file content on your computer.

3. In the android virtual terminal, when VI is in editing mode, press the "OK" Key (trackball), and then press "1" on the virtual keyboard ", you can exit the editing mode (CTRL + [). In this case, you can use WQ to save and exit.

4. Restart your phone.

How to solve the problem that Google search cannot be opened, Google Gmail mailbox and related services cannot be logged on

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.