detachbox
PagesShow a client your dev server

Show a client your dev server

The agent finished the landing page and the client wants to see it now. Skip the deploy and the tunnel: the dev server in your terminal already has an HTTPS address, and one switch opens it to anyone with the link.

1. Run the server on 0.0.0.0

Ask the agent to start the app on 0.0.0.0, or start it yourself:

npm run dev -- --host 0.0.0.0 --port 3000

Agents know the rule from detachbox's own instructions and hand you the link once the server is up.

2. Check it yourself first

Pick Files and previews in the terminal's bar. Port 3000 shows under Previews with the program listening on it. Open the link: it is private, so only you, signed in, see it. Scan its QR code to check the page on your phone too.

3. Open it to the client

  1. Under Who can open port 3000, pick Public.
  2. Confirm with Make public.
  3. Copy the link and send it, or hold up your phone with the QR code across the table.

The client opens it with no account and no sign-in. Hot reload keeps working, so a fix the agent makes while you talk shows up on their screen.

4. Close it when you're done

Pick Private under the same port. The link closes at once to everyone but you.

5. Send a file instead of a server

A PDF, a screenshot or a build report needs no server: click its path in the terminal, pick Share link in the viewer, choose how long it works and copy the link. Shared files on Files and previews shows how many times it was opened, and Revoke ends it early.