Vercel Blog公式発表·2026年5月29日 09:01·約1分
Vercel サンドボックスでポート 8080 が利用可能に
本文の状態
日本語全文を表示中
詳細モードで約1分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Vercel Blog
まず要点
Vercel は、開発者が Vercel のサンドボックス環境内でポート 8080 を使用できるよう機能を拡張した。これにより、特定のポートを必要とするアプリケーションのテストが容易になる。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
このポートはコントローラー用として使用されていましたが、現在はポート 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)});
ポート 8080 を開いたサンドボックスを作成する
原文を表示
This port was used as a controller port, and that has now moved to port 23456.
code
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
この記事をシェア
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み