@mindexec/cli 0.2.181 → 0.2.182
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server.js +8 -0
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -12883,6 +12883,14 @@ async function startBridgeServer() {
|
|
|
12883
12883
|
process.exit(1);
|
|
12884
12884
|
}
|
|
12885
12885
|
|
|
12886
|
+
if (error?.code === 'EACCES') {
|
|
12887
|
+
logError(
|
|
12888
|
+
'bridge',
|
|
12889
|
+
`Windows refused access to 127.0.0.1:${PORT}. If another stale process owns the bridge port, restart with BRIDGE_FORCE_KILL_PORT_OWNER=1. If it still fails, check whether Windows reserved the port with: netsh interface ipv4 show excludedportrange protocol=tcp`,
|
|
12890
|
+
error);
|
|
12891
|
+
process.exit(1);
|
|
12892
|
+
}
|
|
12893
|
+
|
|
12886
12894
|
logError('bridge', 'failed to start LocalBridge server.', error);
|
|
12887
12895
|
process.exit(1);
|
|
12888
12896
|
});
|