/Knowledge/sources/honojs__hono/llms-full/node-js-change-port-number--d53d0ff8aa3f.md
Node.js: Change port number - hono-docs
Node.js: Change port number Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt change port number Summary...
Node.js: Change port number
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#change-port-number
Summary
You can specify the port number with the port option. ts serve({ fetch: app.fetch, port: 8787, })
Content
You can specify the port number with the port option.
serve({
fetch: app.fetch,
port: 8787,
})
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#change-port-number",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Node.js > Change port number",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 455,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Node.js: Change port number",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}