From 415beedfeafb9757b8b6353678df9e9e2c754fba Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Sun, 16 Aug 2026 15:07:00 -0700 Subject: [PATCH] docs(browse): findAvailablePort comment matches the 49151 range cap Co-Authored-By: Claude Fable 5 --- browse/src/port-allocator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browse/src/port-allocator.ts b/browse/src/port-allocator.ts index 0365b5ef9..133747695 100644 --- a/browse/src/port-allocator.ts +++ b/browse/src/port-allocator.ts @@ -115,7 +115,7 @@ export function isPortAvailable(port: number, hostname: string = '127.0.0.1'): P /** * Find a port: the explicit override when given, otherwise a random port in - * the fixed 10000-60000 scan range with bounded retries. NEVER `port: 0` — + * the fixed 10000-49151 scan range with bounded retries. NEVER `port: 0` — * see the module header for why the ephemeral range is off-limits. */ export async function findAvailablePort(explicitPort?: number | null): Promise {