Wayne
          井底的蛙--一直仰望著天空
          posts - 16,comments - 6,trackbacks - 0
          最近Gmail基本登陸不上去,Google的各種服務又開始時斷時續,網上查到修改hosts文件的方法,果然奏效。
          1.打開hosts文件,路徑在C:\Windows\System32 \drivers\etc\ ;在hosts文件的末尾添加了如下行:
          ##Google Service
          ##Chrome 網上應用店
          203.208.46.146 chrome.google.com
          203.208.46.146 clients0.google.com
          203.208.46.146 clients1.google.com
          203.208.46.146 clients2.google.com
          203.208.46.146 clients3.google.com
          203.208.46.146 clients4.google.com
          203.208.46.146 www.googleusercontent.com
          203.208.46.146 lh0.googleusercontent.com
          203.208.46.146 lh1.googleusercontent.com
          203.208.46.146 lh2.googleusercontent.com
          203.208.46.146 lh3.googleusercontent.com
          203.208.46.146 lh4.googleusercontent.com
          203.208.46.146 lh5.googleusercontent.com
          203.208.46.146 lh6.googleusercontent.com
          203.208.46.146 clients1.googleusercontent.com
          203.208.46.146 clients2.googleusercontent.com

          ##網頁快照
          203.208.46.146 webcache.googleusercontent.com

          ##Google SSL
          203.208.46.146 encrypted.google.com
          203.208.46.146 encrypted.google.com.hk

          ##Google Docs
          203.208.46.146 docs.google.com
          203.208.46.146 docs0.google.com
          203.208.46.146 docs1.google.com
          203.208.46.146 docs2.google.com
          203.208.46.146 docs3.google.com
          203.208.46.146 spreadsheets.google.com
          203.208.46.146 spreadsheets0.google.com
          203.208.46.146 spreadsheets1.google.com
          203.208.46.146 spreadsheets2.google.com
          203.208.46.146 spreadsheets3.google.com

          #Gmail
          203.208.46.146 mail.google.com
          203.208.46.146 chatenabled.mail.google.com #Gmail中Gtalk聊天服務

          ##Google 搜索
          203.208.46.146 www.google.com

          ##Google preview
          203.208.46.146 www.googlepreview.com

          ##Google 翻譯
          203.208.46.146 translate.google.com
          203.208.46.146 translate.googleapis.com

          ##Google 搜索建議(IE9)
          203.208.46.146 clients5.google.com

          ##Google code
          203.208.46.146 code.google.com

          ##Picasa 網絡相冊
          203.208.46.146 picasaweb.google.com
          203.208.46.146 lh0.ggpht.com
          203.208.46.146 lh1.ggpht.com
          203.208.46.146 lh2.ggpht.com
          203.208.46.146 lh3.ggpht.com
          203.208.46.146 lh4.ggpht.com
          203.208.46.146 lh5.ggpht.com
          203.208.46.146 lh6.ggpht.com
          203.208.46.146 lh7.ggpht.com
          203.208.46.146 lh8.ggpht.com
          203.208.46.146 lh8.ggpht.com
          203.208.46.146 lh9.ggpht.com
          203.208.46.146 lh6.google.com

          ##Google 個人資料
          203.208.46.146 profiles.google.com
          203.208.46.146 browsersync.google.com

          ##Google
          +
          203.208.46.146 talkgadget.google.com ##Google+中的聊天服務
          203.208.46.146 ssl.gstatic.com
          203.208.46.146 images-pos-opensocial.googleusercontent.com
          203.208.46.146 images1-focus-opensocial.googleusercontent.com
          203.208.46.146 images2-focus-opensocial.googleusercontent.com
          203.208.46.146 images3-focus-opensocial.googleusercontent.com
          203.208.46.146 images4-focus-opensocial.googleusercontent.com
          203.208.46.146 images5-focus-opensocial.googleusercontent.com
          203.208.46.146 images6-focus-opensocial.googleusercontent.com
          203.208.46.146 plus.google.com

          ##Download 下載
          203.208.46.146 dl.google.com
          203.208.46.146 dl-ssl.google.com

          ##Groups
          203.208.46.146 groups.google.com

          ##Google URL Shortener
          203.208.46.146 goo.gl

          ##Google app engine
          203.208.46.146 appengine.google.com
          2.保存修改之后,在命令行下輸入命令:
          ipconfig /flushdns

          關于Windows7:
          windows 7 下的hosts文件位置沒變,依然在 C:\Windows\System32\drivers\etc 目錄下。但如果直接打開編輯,保存時會提示權限不夠。最簡單的方法是:先復制hosts文件到別的地方,修改完了再覆蓋回來就搞定了。中間會提示目標文件夾拒絕訪問,需要提供管理員權限,點擊 繼續 即可。
          posted on 2011-09-27 13:43 waynewan 閱讀(6669) 評論(4)  編輯  收藏

          FeedBack:
          # re: 修改DNS,訪問google各項業務[未登錄]
          2011-09-29 12:37 | a
          設置后無法訪問google reader了?  回復  更多評論
            
          # re: 修改DNS,訪問google各項業務
          2011-09-30 13:27 | kyun
          @a
          用https訪問google reader  回復  更多評論
            
          # re: 修改DNS,訪問google各項業務
          2013-10-24 13:57 | 金日
          很好,謝謝共享。  回復  更多評論
            
          # re: 修改DNS,訪問google各項業務
          2014-12-07 19:35 | ArJo
          有部分帶證書服務的Google網站會阻止訪問。。。  回復  更多評論
            

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 宁远县| 黔西| 东源县| 章丘市| 恩平市| 富锦市| 五家渠市| 芜湖县| 商洛市| 泰兴市| 老河口市| 遵义县| 波密县| 邯郸市| 安平县| 淮安市| 长海县| 金山区| 娱乐| 丰宁| 苗栗市| 大埔区| 南郑县| 西安市| 尉氏县| 岱山县| 志丹县| 宜州市| 呼和浩特市| 旌德县| 稷山县| 盈江县| 依兰县| 荣昌县| 甘南县| 灵璧县| 亳州市| 桃江县| 班戈县| 嵩明县| 宕昌县|