Skip to content
Dashboard

Port 8080 is now available in Vercel Sandboxes

Vercel Sandboxes now allow opening and binding to port 8080 as an ingress domain.

This port was used as a controller port, and that has now moved to port 23456.

import { Sandbox } from "@vercel/sandbox";
const sandbox = await Sandbox.create({
ports: [8080],
});
await sandbox.runCommand({
cmd: "python3",
args: ["-m", "http.server", "8080", "--bind", "0.0.0.0"],
detached: true,
});
console.log(`url: ${sandbox.domain(8080)}`);

Create a sandbox with port 8080 open

Learn more about Sandbox in the documentation.