Skip to content

Go to the docs contents

Private network

The services of one project talk to each other through a private address, which always follows the live version, without going through the internet.

Updated November 21, 2026.

View as Markdown

Private network between a project’s services: they talk behind a wall, over a private address, without going through the internet

You, to your AI: Have the site call the API, without going through the internet.

What your app receives

Your app receives these environment variables at every deployment:

VariableWhat it holds
SERVICE_<NAME>_URLThe private address of the service in the same environment.

When to use it

Use it when two services of the same project talk to each other, without going through the Internet.

How it works

Each web service can be reached by the other services of its environment, at a stable address that follows the active version: SERVICE_<NAME>_URL.

What to know

The address is http://<service>.<namespace>.svc, on port 80 whatever the declared port. A worker has no address. A call wakes the service if it sleeps (Sleep). Between two projects there is no private network: the other project’s public address (access: internal only opens to people), or its database, read-only (Read another project’s database).

Give your AI the message, and it takes care of the rest

Give this to your AI

Read while.sh/agents and help me get started with while.

Copy the message

In 3 minutes, with no sign-up, the tool has its own address. To keep it, create your account.

For a company project, write to the while team: hello@while.sh