This commit is contained in:
Den Piligrim
2025-12-27 18:22:21 +03:00
parent 88cc96a75d
commit e4015d0adf
+1 -1
View File
@@ -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;
}
}