From e4015d0adf652f91162ae2578c8fdaff73b62146 Mon Sep 17 00:00:00 2001 From: Den Piligrim <89912505+vasiljevdenis@users.noreply.github.com> Date: Sat, 27 Dec 2025 18:22:21 +0300 Subject: [PATCH] fix port --- app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index.js b/app/index.js index 7938d56..8d221e4 100644 --- a/app/index.js +++ b/app/index.js @@ -77,7 +77,7 @@ async function getFreePort(used) { const p = Math.floor(Math.random() * (60000 - 10000)) + 10000; if (used.has(p)) continue; if (await isPortFree(p)) { - used.add(inbound.port); + used.add(p); return p; } }