# A device can't reach the internet

> A device has no network, or an agent says it can't reach a site. Check the device's Network setting, macOS's Local Network question and the address.

Your agent says the device can't reach a site, or something in the device that needs the internet doesn't work. You may see `NETWORK_FAILED`.

## What to check

1. **The device's Network setting.** Open the device's Settings › Sharing. Network is Open to start with (the internet and your Mac), or Offline. If it's Offline, an agent can't reach the internet from there. Offline takes effect at the next start on a Mac, an Ubuntu desktop and a Windows device, and right away on an Android emulator.
2. **macOS's Local Network question.** If macOS asked whether Castle may find devices on your network and you chose Don't Allow, see [macOS did not let Castle find devices on your network](https://castle.cx/docs/help/macos-did-not-let-castle-find-devices.md).
3. **Your own connection.** Open a web page in your Mac's browser.
4. **The address.** Your agent can check one with `castle net probe https://example.com`. It only takes `https` addresses.

## Ubuntu

Castle isn't yet checked on macOS 27 for an Ubuntu device reaching the internet from inside. If an Ubuntu device has no network and yours is a Mac on macOS 27, tell us. See [Known limitations](https://castle.cx/docs/help/known-limitations.md).

## Still stuck

[Get support](https://castle.cx/docs/help/get-support.md). Say which kind of device it is, what its Network row says and what your agent ran.

---
Section: Help · Last updated: 2026-11-20 · Source: https://castle.cx/docs/help/a-device-cannot-reach-the-internet
