· engineering

Keep One Staging URL Across Sprints With a Reserved Address

Stop updating preview links every restart. Learn how to create a durable tunnel with a reserved `.instawormhole.site` address, configure expiry, and inspect traffic.

By InstaWormhole team, Engineering

Keep One Staging URL Across Sprints With a Reserved Address

Sharing a local staging build across sprints gets awkward when every preview session hands out a new URL. Bookmarks stop working, QA notes point to addresses that no longer answer, webhook endpoints have to be reconfigured by hand, and framework host allowlists need updating whenever a hostname changes. With InstaWormhole, you can keep one preview address across sessions and sprints by combining a durable tunnel, a reserved .instawormhole.site address, a suitable expiry setting and the request inspector.

On the Free plan ($0), InstaWormhole includes 3 tunnels online at once, 5 GB transfer a month, 120 requests a minute per tunnel, sessions up to 24 hours and 1 reserved address. Paid plans start at $4.99 a month ($44.91 a year) on Starter and scale up through Pro, Team and Business. Prices are in US dollars before any sales tax or VAT added at checkout. A reserved address on a durable tunnel gives your team a predictable HTTPS staging endpoint, and traffic still reaches your local app through the connector running on your own computer.

Why Changing Staging URLs Slows Down Sprint Reviews

During active sprint work, developers iterate quickly on local apps and share previews before merging or deploying. A temporary address works for a one-off check, but a URL that keeps changing adds friction at every handoff:

  • QA and stakeholder bookmarks break: A link saved between test passes points to an address that may no longer answer.
  • Webhook senders need repeated updates: Any service that sends webhooks to your app needs a stable callback address while you test event flows. Anything that used an old address must be updated when it changes.
  • Framework host settings drift: Development servers that refuse unknown host names need the tunnel’s address added to their settings, so a new hostname means a new edit.
  • Request history is missing on quick addresses: A quick address from the connector without --tunnel is not recorded in the request inspector, which makes post-review debugging harder.

A reserved address fixes the churn at its source. Instead of treating each preview as a disposable link, you give a durable tunnel a name you choose, and its address becomes that name followed by .instawormhole.site.

Durable Tunnels vs. Temporary Connector Sessions

InstaWormhole supports both temporary quick addresses and durable tunnels created in the dashboard. Knowing the difference helps you pick the right one for a quick check versus recurring sprint staging.

Running a Temporary CLI Session

For an immediate check on port 3000, you can open a temporary address from the terminal. The npx command needs Node.js 20 or later:

npx @instawormhole/connector 3000

The quick form opens a temporary address for a port on your computer and signs the computer in first if needed. You can also pass a loopback address such as localhost:5173 or 127.0.0.1:8080. It is fast for ad-hoc sharing, but a quick address is temporary and is not recorded in the request inspector.

Creating a Durable Tunnel in the Dashboard

For recurring sprint previews, open Tunnels in the dashboard, choose Create tunnel, give it a name and pick an Expires option. Under Who can open it, you choose between anyone with the address and, on plans that include password protection (Starter and up), a password. A durable tunnel keeps its address, can be protected and shows its requests in the inspector.

Authorize your computer once:

npx @instawormhole/connector login

You can confirm the result with npx @instawormhole/connector status. If sign-in fails, npx @instawormhole/connector doctor checks the credential store and whether the service answers. Then open Connect an app on the tunnel, choose Copy command, and run it:

npx @instawormhole/connector run --relay wss://relay.instawormhole.site --origin 127.0.0.1:3000 --stored-device --tunnel <tunnel id>

The dashboard fills in the tunnel ID. Change the port in --origin if your app listens elsewhere; the connector accepts only a loopback address there. If the connection drops, for example when your computer sleeps, the connector reconnects on its own and a durable tunnel keeps its address.

AspectTemporary Connector SessionDurable Tunnel in Dashboard
Setup flowRun npx @instawormhole/connector 3000Create under Tunnels, then connect with --tunnel
Address continuityTemporary addressKeeps its address; can use a reserved name
Request inspectorNot recordedRecorded on all plans
Best fitOne-off checks and ad-hoc previewsRecurring sprint reviews, shared staging and traffic inspection

Reserving the Address

Reserving a name is what turns a durable tunnel into a stable staging URL. Open the tunnel in the dashboard, find Address, type the name you want and choose Reserve. Names use 3 to 40 lower-case letters, digits and single hyphens, and cannot start or end with a hyphen. The page tells you if a name is taken or reserved.

The number of reserved addresses depends on your plan: 1 on Free, 5 on Starter, 10 on Pro, 25 on Team and 50 on Business. Keep these points in mind:

  • Reserving changes the address: The tunnel’s address becomes your chosen name, so anything that used the old address must be updated. Restart the connector if it does not reconnect on its own.
  • Releasing gives a new address: Choosing Release the name gives the tunnel a new generated address and holds the name for your workspace for 30 days.
  • Rotation is off while reserved: Rotating a tunnel’s address is unavailable while the tunnel has a reserved name.

Choosing the Right Expiry Setting for Each Sprint

When you create a tunnel, the Expires setting offers Never, In 1 hour, In 1 day, In 7 days or In 30 days. A shorter lifetime limits how long an endpoint stays open after a review wraps up.

An expired tunnel (ROUTE_EXPIRED) cannot be switched on again. When a tunnel expires, you create a new tunnel and connect your app to it.

Plan your sprint around that rule:

  • In 1 hour: A good fit for a pairing session, a quick bug check or a short demo window.
  • In 1 day: Practical for a single-day QA pass.
  • In 7 days: A natural match for a week-long sprint iteration, so teammates can check the preview across several days without re-creating the tunnel.
  • In 30 days: Useful for longer build cycles or extended stakeholder reviews where a fixed end date still makes sense.
  • Never: Suited to an ongoing staging tunnel with no scheduled end. You can still pause or stop it, or use access protection, when it is not in use.

Pausing and stopping work differently from expiry. A paused or stopped tunnel keeps its address, and you can choose Resume. If Tunnel Doctor reports ROUTE_PAUSED or ROUTE_STOPPED, resume the tunnel and start the connector again with the command under Connect an app.

One plan limit matters for sprint staging. On Free, a connection lasts up to 24 hours, while paid plans have no session time limit. A tunnel that must stay connected across several days therefore needs a paid plan, or a restart of the connector each day.

Pairing a Reserved Address With the Request Inspector

A reserved address gives reviewers and integrations a steady URL. The Request Inspector shows what actually reaches your app during sprint testing. Only durable tunnels are recorded, so quick-address sessions will not give you that history.

What the Request Inspector Captures and Keeps

Open your durable tunnel in the dashboard and choose Open request inspector. Each row shows the method, path, status and duration, and the detail view tells you whether your app or InstaWormhole itself answered. You can filter by status class, method, path text and time, add a note of up to 500 characters, and pin a request. The documentation sets these boundaries:

  • Durable tunnels only: Requests to a quick address from the connector without --tunnel are not recorded.
  • Workspace visibility: Everyone who can see the tunnel in your workspace can read its inspector.
  • Retention and volume: A request record is kept for 24 hours, up to the newest 500 requests per tunnel. A tunnel records at most 10 requests a second, and requests beyond that are counted as not recorded.
  • Unrecorded requests: Requests refused by the password prompt and requests for an unknown address are not recorded. Pinned requests are not trimmed by the count but still expire after 24 hours.

Managing Body Retention, Redaction and Replay

When you debug form submissions, API payloads or webhook deliveries, you decide whether the inspector keeps bodies:

  • Keep bodies: Off by default. When you choose Keep bodies, new requests keep the first 64 KiB of each request and response body for 24 hours. Turning it on or off needs a recent sign-in and is recorded in the workspace audit log. Leave it off when traffic may carry secrets or personal data.
  • Redaction before storage: The relay replaces header values for authorization, proxy-authorization, cookie and set-cookie. It also replaces values for header names containing token, secret, password, session, api-key, apikey, auth or key. Query string values are replaced while the keys stay, and only the /24 for IPv4 or the /48 for IPv6 of the sender’s address is kept. Bodies are not redacted, so use non-sensitive test data when Keep bodies is on.
  • Replay: After fixing a bug, select a captured request and choose Replay. You can edit the method, path, headers and, if it was kept, the body. The request goes to the tunnel’s public address marked with an X-Instawormhole-Replay header. You can replay once every 5 seconds, and each replay is recorded in the workspace audit log. Replaying a request that creates or changes something, such as an order, can do it again.
  • Replay and passwords: Replay is not offered on a tunnel with a password, because InstaWormhole never holds the password. Use Copy as cURL and add the password yourself. Download HAR is also available, and redacted values stay redacted in both exports.

Practical Setup Checklist for Sprint Staging

To keep a single staging URL reliable across a sprint, set up the tunnel and your local environment before you share the link:

  1. Confirm your local server answers plain HTTP on a loopback address: For example http://localhost:3000 or 127.0.0.1:3000. A local server that only accepts HTTPS is not supported.
  2. Create a durable tunnel and reserve your address: Name the tunnel, choose an Expires option, then use Address on the tunnel to reserve your .instawormhole.site name. Update anything that used the earlier address.
  3. Configure framework host rules when needed: Replace example in these snippets with your own name:
  • Vite 6 and later: add the address to server.allowedHosts and set hmr: { protocol: 'wss', clientPort: 443 } in vite.config.js.
  • Next.js 15 and later: add the address to allowedDevOrigins in next.config.js.
  • Expo: start with EXPO_PACKAGER_PROXY_URL=https://example.instawormhole.site npx expo start.
  • Shopify CLI: pass --tunnel-url https://example.instawormhole.site:443.
  • Laravel: set APP_URL in .env, and trust the proxy if your app sits behind one.
  1. Add access protection on eligible plans: Starter and higher include password protection, access tokens, IP allow and deny lists and email codes. A tunnel has one access mode at a time, so turning on email codes replaces a password or access token.
  2. Start the connector and verify with Tunnel Doctor: Run the dashboard’s --tunnel command. If something fails, choose Run Tunnel Doctor on the tunnel. It checks address lookup (DNS), secure connection (TLS), tunnel state, the connector, access protection, your app and a request through the public address, in that order. You can run it once every 10 seconds per tunnel. Start with the first failing layer and look up its code:
  • CONNECTOR_OFFLINE: start the connector on the computer running your app.
  • CONNECTOR_UNAVAILABLE: the connector is recorded as connected but did not take the request, so restart it.
  • ORIGIN_UNREACHABLE: make sure your app is running and that --origin matches its port.
  • ORIGIN_SLOW: your app did not answer within 15 seconds.
  • ORIGIN_NO_RESPONSE: your app closed the connection without sending a response.
  • ROUTE_EXPIRED: create a new tunnel.

Also watch your plan’s limits during busy review days. A tunnel that receives more requests a minute than its plan allows gets a 429 until the minute passes (120 a minute on Free). When a workspace uses up its monthly transfer, tunnels answer 429 until the first of next month (UTC) and Tunnel Doctor reports ROUTE_TRANSFER_LIMIT.

For full setup details, plan comparisons and diagnostic references, see the InstaWormhole documentation.