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

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

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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 林西县| 瓦房店市| 象山县| 九台市| 宁蒗| 宁南县| 平南县| 和林格尔县| 沙田区| 凌海市| 浮山县| 崇阳县| 临夏县| 望江县| 尚志市| 中方县| 泸溪县| 红安县| 青阳县| 洪洞县| 太保市| 馆陶县| 通渭县| 鹤峰县| 榆林市| 明水县| 阿瓦提县| 尉犁县| 隆德县| 垦利县| 永昌县| 渑池县| 高邑县| 嘉兴市| 叙永县| 蒙自县| 大同市| 依兰县| 东至县| 孟津县| 上栗县|