Can't reach a Device or Service
Why a Device or Service does not answer, from the most common cause to the least.
Work down the list. Each check takes a minute.
1. No rule opens it
Servers and Services are closed until something opens them. Only each Member's own Personal devices reach each other from the start.
In the console, open the Device you connect from and look at What this Device can reach. It is worked out from the same rules the Coordinator enforces, and names the rule behind each entry. If what you want is not there:
- for a Server, add an Access rule: who, then what, then ports;
- for a Service, open it under Services and set Who can open it.
More in Check what a Device can reach.
2. Incoming connections are off on a personal device
On macOS, Windows, iPhone and Android, the Tiltas app starts with Allow incoming connections off. Other Devices, even your own, cannot open a connection to it, although it can still reach them. To reach your laptop from your phone, turn it on in the laptop's Tiltas Settings.
Servers, and Linux computers signed in with tiltas up, accept incoming connections.
3. The Device is offline, or its sign-in expired
Under Devices, check that the Device is Online. If it is not:
- make sure the app runs and is connected, or on Linux that the engine runs:
systemctl status tiltasd; - a Personal device whose sign-in expired stays listed but reaches nothing: sign it in again. See Sign-in expiry.
4. It is waiting for approval
With Device approval on, a new Device reaches nothing until an Owner or Admin approves it. Its page in the console says Nothing until it is approved and offers Approve. See Device approval.
5. The program behind a Service does not answer
A Service passes requests to its target, such as localhost:3000, on its own Device. If the program there is stopped or
listens on another port, the Service cannot answer. Services shows when each target last answered: see
Health.
6. The program listens only on localhost
When you reach a Device by its name or address, for example ssh nas or http://nas:8080, the program on it must
listen on the Tiltas address or on all addresses, not only on 127.0.0.1. A Service is the other way round: its target
is reached from the Device itself, so localhost:3000 works.
7. A firewall on the Device refuses it
A host firewall on the target can drop traffic that arrives through Tiltas. On a Linux server with ufw:
sudo ufw allow in on tiltas08. The name is wrong or does not resolve
Try the Device address, such as 100.64.0.4, instead of the name. If the address works and the name does not, see
Names don't resolve.
Test from a terminal
On Linux or Windows, tiltas ping tells you whether the other Device answers at all, and how:
tiltas ping nasA pong from nas line means the two Devices have a path to each other; the problem is then a rule, a port or the
program (checks 1, 2, 5 to 7). No answer, or a name it does not know, means the other Device is offline, waiting for
approval, or not visible to this one because no rule connects them (checks 1, 3 and 4).