• 解决Google code和Google group无法登录的问题


    将目录C:/Windows/System32/drivers/etc下的hosts进行修改。

    添加内容

     Google code

    66.249.89.104 code.google.com
    66.249.80.104 code.google-com.proxy.qq.com
    66.249.80.104 encrypted.google.com
    66.249.80.104 suggestqueries.google.com
    66.249.80.104 mail.google.com
    66.249.80.104 groups.google.com
    66.249.80.104 groups.google.com.hk
    66.249.80.104 docs.google.com
    66.249.80.104 docs0.google.com
    66.249.80.104 docs1.google.com
    66.249.80.104 spreadsheets.google.com
    66.249.80.104 spreadsheets0.google.com
    66.249.80.104 webcache.googleusercontent.com
    66.249.80.104 sites.google.com
    66.249.80.104 talkgadget.google.com
    66.249.80.104 clients1.google.com
    66.249.80.104 clients2.google.com
    66.249.80.104 clients3.google.com
    66.249.80.104 clients4.google.com
    
    203.208.39.99 lh1.ggpht.com
    203.208.39.99 lh2.ggpht.com
    203.208.39.99 lh3.ggpht.com
    203.208.39.99 lh4.ggpht.com
    203.208.39.99 lh5.ggpht.com
    203.208.39.99 lh6.ggpht.com
    203.208.39.99 lh7.ggpht.com
    203.208.39.99 lh8.ggpht.com
    203.208.39.99 lh9.ggpht.com

    Google group

    74.125.91.113 groups.google.com
    74.125.19.113 translate.google.com
    74.125.19.113 spreadsheets.google.com
    74.125.19.113 code.google.com
    74.125.19.113 books.google.com

    我的hosts还屏蔽了许多视频网站的广告。我的hosts如下,做下备份

    # Copyright (c) 1993-2009 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # For example:
    #
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    
    # localhost name resolution is handled within DNS itself.
    #    127.0.0.1       localhost
    #    ::1             localhost
    
    
    
    66.249.80.104 code.google.com
    
    #优酷
    127.0.0.1 atm.youku.com
    127.0.0.1 Fvid.atm.youku.com
    127.0.0.1 html.atm.youku.com
    127.0.0.1 valb.atm.youku.com
    127.0.0.1 valf.atm.youku.com
    127.0.0.1 valo.atm.youku.com
    127.0.0.1 valp.atm.youku.com
    127.0.0.1 lstat.youku.com
    127.0.0.1 speed.lstat.youku.com
    127.0.0.1 urchin.lstat.youku.com
    127.0.0.1 stat.youku.com
    127.0.0.1 static.lstat.youku.com
    127.0.0.1 valc.atm.youku.com
    127.0.0.1 vid.atm.youku.com
    127.0.0.1 walp.atm.youku.com
    
    
    #土豆屏蔽:
    127.0.0.1 *.p2v.tudou.com*
    127.0.0.1 at-img1.tdimg.com
    127.0.0.1 at-img2.tdimg.com
    127.0.0.1 at-img3.tdimg.com
    127.0.0.1 adplay.tudou.com
    127.0.0.1 adcontrol.tudou.com
    127.0.0.1 stat.tudou.com
    #酷6屏蔽:
    127.0.0.1 gug.ku6cdn.com
    127.0.0.1 v2.stat.ku6.com
    127.0.0.1 v3.stat.ku6.com
    127.0.0.1 v0.stat.ku6.com
    127.0.0.1 v1.stat.ku6.com
    127.0.0.1 st.vq.ku6.cn
    127.0.0.1 stat2.888.ku6.com
    127.0.0.1 pq.stat.ku6.com
    #迅雷看看屏蔽:
    #127.0.0.1 mcfg.sandai.net
    #127.0.0.1 biz5.sandai.net
    127.0.0.1 server1.adpolestar.net
    #127.0.0.1 advstat.xunlei.com
    #127.0.0.1 mpv.sandai.net 方法跟优酷的一样哦!
    
    
    
    0.0.0.0 acs.agent.v-56.com/crossdomain.xml
    0.0.0.0 acs.agent.v-56.com
    0.0.0.0 acs.56.com/crossdomain.xml
    0.0.0.0 bfr.stat.56.com/crossdomain.xml
    0.0.0.0 stat3.corp.56.com/crossdomain.xml
    0.0.0.0 t4p.stat.56.com/crossdomain.xml
    0.0.0.0 vxml.56.com/crossdomain.xml
    0.0.0.0 stat.56.com
    0.0.0.0 stat2.corp.56.com
    0.0.0.0 stat3.corp.56.com
    0.0.0.0 stat4.corp.56.com
    0.0.0.0 acs.56.com
    0.0.0.0 www.56.com/js/promo/
    
    #google code
    66.249.89.104 code.google.com
    66.249.80.104 code.google-com.proxy.qq.com
    66.249.80.104 encrypted.google.com
    66.249.80.104 suggestqueries.google.com
    66.249.80.104 mail.google.com
    66.249.80.104 groups.google.com
    66.249.80.104 groups.google.com.hk
    66.249.80.104 docs.google.com
    66.249.80.104 docs0.google.com
    66.249.80.104 docs1.google.com
    66.249.80.104 spreadsheets.google.com
    66.249.80.104 spreadsheets0.google.com
    66.249.80.104 webcache.googleusercontent.com
    66.249.80.104 sites.google.com
    66.249.80.104 talkgadget.google.com
    66.249.80.104 clients1.google.com
    66.249.80.104 clients2.google.com
    66.249.80.104 clients3.google.com
    66.249.80.104 clients4.google.com
    
    203.208.39.99 lh1.ggpht.com
    203.208.39.99 lh2.ggpht.com
    203.208.39.99 lh3.ggpht.com
    203.208.39.99 lh4.ggpht.com
    203.208.39.99 lh5.ggpht.com
    203.208.39.99 lh6.ggpht.com
    203.208.39.99 lh7.ggpht.com
    203.208.39.99 lh8.ggpht.com
    203.208.39.99 lh9.ggpht.com
    
    #google group
    74.125.91.113 groups.google.com
    74.125.19.113 translate.google.com
    74.125.19.113 spreadsheets.google.com
    74.125.19.113 code.google.com
    74.125.19.113 books.google.com
    作者:xwdreamer
    欢迎任何形式的转载,但请务必注明出处。
    分享到:
  • 相关阅读:
    Filter and Listener
    Cookie Session
    怎样快速将一台电脑虚拟机导入另外一台电脑
    网页下载文件服务端代码
    图片验证码生成代码
    Request实战
    Response
    设置页眉页脚的距离
    页眉页脚的设置
    节的设置
  • 原文地址:https://www.cnblogs.com/xwdreamer/p/2296994.html
Copyright © 2020-2023  润新知