Wayne
          井底的蛙--一直仰望著天空
          posts - 16,comments - 6,trackbacks - 0
          最近Gmail基本登陸不上去,Google的各種服務(wù)又開始時(shí)斷時(shí)續(xù),網(wǎng)上查到修改hosts文件的方法,果然奏效。
          1.打開hosts文件,路徑在C:\Windows\System32 \drivers\etc\ ;在hosts文件的末尾添加了如下行:
          ##Google Service
          ##Chrome 網(wǎng)上應(yīng)用店
          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

          ##網(wǎng)頁快照
          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聊天服務(wù)

          ##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 網(wǎng)絡(luò)相冊(cè)
          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 個(gè)人資料
          203.208.46.146 profiles.google.com
          203.208.46.146 browsersync.google.com

          ##Google
          +
          203.208.46.146 talkgadget.google.com ##Google+中的聊天服務(wù)
          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

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

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

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 乌鲁木齐县| 日土县| 合作市| 葫芦岛市| 方山县| 华亭县| 铜山县| 湟源县| 淅川县| 南宫市| 盱眙县| 屏山县| 炎陵县| 科尔| 栾城县| 太白县| 通化县| 瑞安市| 云梦县| 泌阳县| 化州市| 屯昌县| 从化市| 建始县| 樟树市| 永和县| 邢台县| 青神县| 闽侯县| 腾冲县| 新化县| 交城县| 新龙县| 萝北县| 峨眉山市| 黄山市| 汨罗市| 岢岚县| 延吉市| 湖北省| 永顺县|