From af103ec25fda1d68be21ab4d8820fea7478abcc9 Mon Sep 17 00:00:00 2001 From: COOL Date: Thu, 20 Feb 2025 13:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/comm/port.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm/port.ts b/src/comm/port.ts index 42cd85a..fd95e49 100644 --- a/src/comm/port.ts +++ b/src/comm/port.ts @@ -34,7 +34,7 @@ function isPortAvailableSync(port: number): boolean { */ export function availablePort(startPort: number): number { let port = startPort; - while (port <= 65535) { + while (port <= 8010) { if (isPortAvailableSync(port)) { if (port !== startPort) { console.warn(