sandbox_get_url
Retrieve the public URL for a specific port inside an E2B sandbox to access running dev servers, web apps, or HTTP services directly from your browser.
Instructions
Get the public URL for a port running inside a sandbox. Use this to access dev servers, web apps, or any HTTP service running in the sandbox from a browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | The sandbox ID. | |
| port | Yes | The port number the service is listening on inside the sandbox (e.g., 3000, 8080). |