/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-change-port-number-3fe3c9f4a492-change-port-number-s0434-c0000.md
Change port number - hono-docs
Change port number Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt change port number Summary You...
Change port number
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#change-port-number
Summary
You can specify the port number by updating the arguments of Deno.serve in main.ts: ts Deno.serve(app.fetch) // [!code --] Deno.serve({ port: 8787 }, app.fetch) // [!code ++]
Content
You can specify the port number by updating the arguments of Deno.serve in main.ts:
Deno.serve(app.fetch) // [!code --]
Deno.serve({ port: 8787 }, app.fetch) // [!code ++]