# Check what a Device can reach

Source: https://tiltas.openpanel.sh/docs/access/check-reach

> See every Device and Service one Device may reach, and which rule allows each, before you rely on it.

Every Device's page in the console lists what that Device may reach, and why. The list is worked out from the same
compiled rules the Coordinator enforces, so it is what actually happens, not a second opinion.

## In the console

Open **Devices**, then a Device. Under **What this Device can reach**, each line is one thing it may reach:

- **A Device**, by its name, with **all ports** or the ports allowed.
- **A Service**, by its address (`http://gitea` for a Web Service; the name and Service address for a TCP Service).
- **SSH**, as `ssh deploy@home`, for each Server and system user an [SSH rule](/docs/ssh) names.

On the right of each line is the rule that allows it: **Your own Devices** for the built-in rule, the rule's **Note**, or
"An Access rule" for a rule without one.

Two other states:

| The page says | Means |
|---|---|
| **Nothing until it is approved** | The Device is waiting for approval and reaches nothing. See [Device approval](/docs/access/device-approval). |
| **Nothing beyond itself** | No Access rule includes this Device yet. |

The list says what the rules allow. A Personal device on macOS, Windows, iPhone or Android must also have
**Allow incoming connections** on for others to open connections to it, and the target must be online.

## With the API

```bash
curl https://tiltas.openpanel.sh/api/v1/accounts/acc_your_account/devices/dev_your_device/reachable \
  -H "Authorization: Bearer $TILTAS_TOKEN"
```

The answer has two lists:

- `reaches`: one item per Device (`device_id`) or Service (`service_id`), with its `ports` (empty means all) and the
  `rule_id` that allows it (`null` for the built-in rule).
- `ssh`: one item per Server (`device_id`) with the system `users` it may sign in as, and `check` when the rule asks to
  sign in again first.

See [What a Device can reach](/docs/api/access/getReachable).

## When something is missing

- Not in the list: add an [Access rule](/docs/access), or add the Device's Member to the Service's **Who can open it**.
- In the list but it does not connect: see [Can't reach a Device or Service](/docs/troubleshooting/cant-reach).
