---
title: "Mac 上的 The Internet connection appears to be offline：這代表什麼 · Kilobat 指南"
url: "https://kilobat.app/zh-hant/guides/internet-connection-appears-offline.html"
description: "Mac 上的 App 顯示 The Internet connection appears to be offline。了解 macOS 這句話的意思，檢查連線並修正原因。"
---

錯誤訊息

# Mac 上的「The Internet connection appears to be offline.」

這是 macOS 在 URL Loading System 中對錯誤 -1009 顯示的文字。App 要求某個資源，而 macOS 沒有可用的網際網路連線。

適用於：所有目前的 macOS 版本。文字已在 macOS 27.2 上核對。 · 檢查日期：2026年10月29日

## 症狀

- App 顯示「The Internet connection appears to be offline.」
- App 可能會同時顯示 `NSURLErrorDomain` 和 `-1009`。
- 只有一個 App 出現，或每個 App 都出現。

## 可能原因

- **Mac 沒有連線。**Apple 的文件表示，連線尚未建立，而且無法自動建立。
- **VPN 尚未就緒。**正在連線、重新連線或阻擋流量的 VPN，可能讓 Mac 沒有可用的路徑。
- **防火牆或過濾器阻擋了某個 App。**如果只有一個 App 失敗，可能是防火牆 App 或內容過濾器阻擋了它。
- **路由器或網路供應商故障。**Mac 在網路上，但該網路沒有網際網路。

## 如何檢查

1. 打開其他網站。如果所有網站都打不開，問題就在連線，而不是這個網站。
2. 顯示 App 看到的網路狀態。

   ```
   scutil --nwi
   ```
3. ping 網際網路上的某個位址。這項測試不會用到 DNS。

   ```
   ping -c 5 1.1.1.1
   ```
4. 如果只有一個 App 失敗，檢查防火牆 App 中針對該 App 的規則。

## 如何修正

1. 先修好連線。請依照「[Mac 已連上 Wi-Fi 但無法上網](https://kilobat.app/zh-hant/guides/wifi-connected-no-internet.html)」操作。
2. 中斷 VPN 再重新連線，然後再試一次 App。
3. 如果防火牆 App 阻擋了該 App，就在那個防火牆 App 中允許它。
4. 連線恢復後，結束 App 再重新打開。

## 使用 Kilobat

1. 用一個指令檢查 Wi-Fi、路由器、網際網路、DNS 和登入頁面。

   ```
   kilobat diagnose
   ```
2. 如果只有一個 App 失敗，測試該 App 的路徑。連線診斷也會檢查 Kilobat 對它的規則。

   ```
   kilobat why example.com --app com.example.App
   ```
3. 如果 Kilobat 的過濾器已開啟，列出它的規則。

   ```
   kilobat rules
   ```
4. 這些 Kilobat 檢查都是免費的。AI 代理程式可透過 MCP 以 `diagnose_connection` 和 `diagnose_network` 執行。請參閱[找出某個網站或 API 連不上的原因](https://kilobat.app/zh-hant/guides/recipes/why-cant-it-connect.html)。

## 常見問題

**NSURLErrorDomain -1009 是什麼？**

它是 Apple URL Loading System 的 notConnectedToInternet 錯誤，macOS 會為它顯示這段文字。

**這跟 Safari 的「You Are Not Connected to the Internet」一樣嗎？**

情況相同，只是 Safari 會顯示自己的頁面。請參閱「[Safari：Mac 上的『You Are Not Connected to the Internet』](https://kilobat.app/zh-hant/guides/safari-not-connected-to-internet.html)」。

## 資料來源

- CFNetwork.framework 中的錯誤文字，macOS 27.2（Localizable.loctable）
- [Apple Developer：URLError.Code notConnectedToInternet（-1009）](https://developer.apple.com/documentation/foundation/urlerror/code/notconnectedtointernet)
- [Apple 支援：如果 Mac 無法透過 Wi-Fi 連上網際網路](https://support.apple.com/en-us/101588)
- scutil(8) 與 ping(8)，macOS 27.2 內建的 man 手冊頁

資料來源檢查日期：2026年10月29日。man 頁面為 macOS 內建版本；在終端機中用 `man <name>` 開啟。

## 相關指南

- [Mac 上的 Safari：「You Are Not Connected to the Internet」](https://kilobat.app/zh-hant/guides/safari-not-connected-to-internet.html): macOS 無法為 Safari 提供網際網路連線時，Safari 就會顯示這個頁面。
- [Mac 已連上 Wi-Fi 但無法上網](https://kilobat.app/zh-hant/guides/wifi-connected-no-internet.html): Wi-Fi 連線只是到路由器的連結。
- [Mac 已連上 VPN 但無法上網](https://kilobat.app/zh-hant/guides/vpn-connected-no-internet.html): VPN 會讓流量經由通道傳送。
- [Mac 上的內容過濾器阻擋網站](https://kilobat.app/zh-hant/guides/content-filter-blocking.html): 內容過濾器會檢查網頁流量，並阻擋某些網站。
