GFW 封鎖 Google 部分 IP 的 443 端口,導致搜尋、Gmail、Drive 等服務間歇性無法存取。解法:在 hosts 檔指定可用的 Google 官方 IP 替代被封 IP。

Google 搜尋/學術、維基百科、GitHub、YouTube、Google Drive、Google Play、Android、Gmail、Google APIs、Google User Content、Gstatic 等核心服務域名。
Ping 全球節點尋找未被封鎖 443 端口的 Google IP,寫入 hosts 強制解析。隨封鎖升級,IP 需定期更新,本頁長期維護。
| 平台 | Hosts 路徑 | 備註 |
|---|---|---|
| Windows | C:\Windows\System32\drivers\etc\hosts | 文字編輯器以管理員身分開啟修改 |
| Linux | /etc/hosts | 需 root 權限 |
| Mac OS X | /etc/hosts | 需 sudo 權限 |
| Android | /system/etc/hosts | **需 Root 權限**,修改後重啟 |
| iOS | /etc/hosts | **需越獄**,未越獄無法修改 |
⚠️ 隨著封鎖升級,Hosts 大法終將失效,建議配合穩定 VPN/代理工具長期使用。