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 9, 2026.

View as Markdown

You, to your agent: 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).

Connect your agent, it takes care of the rest

To paste into your agent

Read while.sh/agents, then deploy my app with while.

Copy the instructions

No account needed to try: your app is live right away. To keep it, sign in.

A project for your company? Talk to the team: hello@while.sh