diff --git a/connect/src/utils.ts b/connect/src/utils.ts index b1ff5ffe3..017915b7e 100644 --- a/connect/src/utils.ts +++ b/connect/src/utils.ts @@ -14,7 +14,7 @@ export async function checkPort(port: number) { mode: "no-cors", }); - if (res.status === 400) { + if (res.status === 400 || res.status === 0) { return port; } else { return null;