Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> 電腦軟體教學 >> 電腦軟體介紹

Gmail 被封鎖?修改 Hosts 檔直連 Google 伺服器恢復訪問

編輯:電腦軟體介紹

Gmail 無法訪問?修改 Hosts 檔綁定 Google 伺服器真實 IP 即可繞過封鎖。適用 Windows / Android / Mac。

Hosts 檔位置

  • Windows: C:\WINDOWS\system32\drivers\etc\hosts
  • Android: /system/etc/hosts(需 Root)
  • Mac: /etc/hosts

操作步驟

  1. 以管理員/Root 權限用記事本開啟 hosts。
  2. 在檔案末尾貼入以下 IP 映射(以 64.233.167.165 為例):
64.233.167.165 ajax.googleapis.com
64.233.167.165 fonts.googleapis.com
64.233.167.165 www.google.com
64.233.167.165 www.google.com.hk
64.233.167.165 accounts.google.com
64.233.167.165 plus.google.com
64.233.167.165 mail.google.com
64.233.167.165 chatenabled.mail.google.com
64.233.167.165 maps.google.com
64.233.167.165 apis.google.com
64.233.167.165 play.google.com
64.233.167.165 clients5.google.com
64.233.167.165 clients2.google.com
64.233.167.165 clients1.google.com
64.233.167.165 clients3.google.com
64.233.167.165 clients4.google.com
64.233.167.165 oauth.googleusercontent.com
64.233.167.165 ssl.gstatic.com
64.233.167.165 www.gstatic.com
  1. 存檔,瀏覽器訪問 mail.google.com 即可正常使用 Gmail 所有功能。
    Gmail正常登入

注意:IP 可能失效,需定期更新。亦可使用專用 Hosts 維護工具自動同步最新列表。

Copyright © Windows教程網 All Rights Reserved