Skip to content
Dashboard

Vercel Sandbox increases concurrency and port limits

Laurens DuijvesteijnSoftware Engineer
import { Sandbox } from '@vercel/sandbox';
const sandbox = await Sandbox.create({
ports: [3000, 3001, 3002, 3003]
});
const urlA = sandbox.domain(3000);
console.log(sandbox.routes);
// A sample of what the above console.log would return
// [
// {
// url: 'https://sb-p0oybyhzzl2u.vercel.run',
// subdomain: 'sb-p0oybyhzzl2u',
// port: 3000
// },
// {
// url: 'https://sb-3erkpotk6i6h.vercel.run',
// subdomain: 'sb-3erkpotk6i6h',
// port: 3001
// },
// ...
// ]