Solutions for some websites that Google cannot access

Source: Internet
Author: User

Occasionally with the http://code.google.com function, but often encounter access to the situation, before there is through the change hosts file solution, but after a while it will not work, and have to find a way to solve, later, I found that Google's IP address has changed. just remove the corresponding Google IP address in the hosts file. The specific method is as follows:

First, find the hosts file, which is located in c: \ windows \ system32 \ drivers \ etc \ hosts on Windows, and it looks like ETC/hosts on Linux. Because it is a system file, ordinary users do not have the permission to modify it. We must first change its permission. Right-click it, select properties, and select the Security tab. You can see that normal users only have the read permission,

Click "edit,

Select the group (users) where the current user is located, click "All Permissions", and click "OK". Then, you can edit and save the hosts file.

Next, edit the hosts file and add the following content to the end of the file:

74.125.71.103 code.google.com
74.125.71.103 encrypted.google.com
74.125.71.103 suggestqueries.google.com
74.125.71.103 mail.google.com
74.125.71.103 groups.google.com
74.125.71.103 groups.google.com.hk
74.125.71.103 docs0.google.com
74.125.71.103 docs1.google.com
74.125.71.103 spreadsheets.google.com
74.125.71.103 spreadsheets0.google.com
74.125.71.103 webcache.googleusercontent.com
74.125.71.103 sites.google.com
74.125.71.103 talkgadget.google.com
74.125.71.103 clients1.google.com
74.125.71.103 clients2.google.com
74.125.71.103 clients3.google.com
74.125.71.103 clients4.google.com
74.125.71.103 docs.google.com

Among them, 74.125.71.103 is the current Google IP address, which can be obtained through ping www.google.com. If it cannot be accessed later, check whether the Google IP address has been changed. If it is changed, change the IP address to the current one, change the content of the hosts file and save it. For security reasons, change the permission of the hosts file back to the default setting.

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.