Tory Labs

Set up your relay server

Connect your phone and computer through a server on your own Cloudflare account. Follow the same four steps from either app.

Before you start

Four steps to connect

Open the app’s relay server settings and choose Create server files. The app creates a folder in your home folder and fills in the access token. Keep both for the next step.

Relay server

Create server files

Server files

If something goes wrong

Where are the server files?

Open your home folder in Finder and look for the relay folder created by the app. Its name can differ between apps. If it is missing, choose Create server files again.

Cloudflare asks for a workers.dev subdomain

Choose a name when asked. Cloudflare uses it to create your free server address; you do not need to buy a domain.

The address or token does not match

Use the https address printed after deployment, without a path. Check that the app’s token matches TOKEN in the generated wrangler.jsonc. Keep the token private.

It works on Wi-Fi but not on mobile data

Save the new relay address, then scan a new QR code. Keep the app running on your computer and check that both devices can reach the internet.

Using another computer or changing the token

Use the same server address and token on the other computer, then scan its QR code. To change the token, update TOKEN in the server configuration, deploy again and enter the new token in the app.

It stops working during the day

Check usage and limits in the Cloudflare dashboard, and any daily limit shown by the app. On Cloudflare’s free plan, operations over a free limit fail; daily limits reset at 00:00 UTC.

Cloudflare free plan limits ↗