Sérgio Pedro
a1a1cfb93d
fix: use Get-NetTCPConnection for locale-independent port lookup
...
The netstat-based parser matched the literal English "LISTENING"
state string, which is translated on non-English Windows (e.g.
"ABHÖREN", "ÉCOUTE", "ESCUTANDO"). On those systems the regex matched
zero lines, so killProcessOnPort silently did nothing -- fail-open,
not a regression, but ineffective for the exact users the fix targets.
Replace it with `Get-NetTCPConnection -State Listen -LocalPort <port>`,
which reads the same underlying WinNT API netstat's display layer
translates, so it's unaffected by OS display language. Verified
against a real listening port on this machine (matched the actual
owning PID).
Also fixed a stale duplicate of the "killProcessOnPort is a no-op on
Windows" comment left behind in server/index.js.
2026-08-12 11:50:39 +01:00
..
2026-07-18 00:11:05 +03:00
2026-06-23 21:52:51 +03:00
2026-08-04 14:40:44 -07:00
2026-08-07 00:25:57 +03:00
2026-06-02 00:43:05 +03:00
2026-06-02 00:43:05 +03:00
2026-06-26 19:27:53 +03:00
2026-08-03 06:40:01 +00:00
2026-08-03 12:03:37 +00:00
2026-08-03 06:56:38 +00:00
2026-08-07 10:08:50 +03:00
2026-08-07 00:25:57 +03:00
2026-08-10 16:10:03 +03:00
2026-08-05 11:24:14 +03:00
2026-08-05 11:24:14 +03:00
2026-08-03 09:12:35 +00:00
2026-08-03 09:12:35 +00:00
2026-08-03 15:04:48 +03:00
2026-06-11 01:06:25 +03:00
2026-06-11 01:06:25 +03:00
2026-08-12 11:50:39 +01:00
2026-08-12 11:50:39 +01:00
2026-06-24 16:51:17 +03:00
2026-08-10 20:23:45 +03:00
2026-07-05 23:19:10 +03:00
2026-07-07 19:49:11 +03:00
2026-07-07 19:49:11 +03:00
2026-06-26 19:27:53 +03:00
2026-05-25 19:20:04 +03:00
2026-08-07 00:10:29 +03:00
2026-08-07 00:10:29 +03:00
2026-08-03 06:40:01 +00:00
2026-08-03 06:40:01 +00:00
2026-05-25 19:20:04 +03:00
2026-05-25 19:20:04 +03:00
2026-05-25 19:20:04 +03:00
2026-05-25 19:20:04 +03:00
2026-06-24 00:43:11 +03:00
2026-06-24 00:43:11 +03:00
2026-05-12 11:10:39 +03:00
2026-05-12 11:10:39 +03:00
2026-08-03 13:57:05 +00:00
2026-08-03 13:18:27 +00:00
2026-08-03 13:18:27 +00:00
2026-08-02 11:40:02 +00:00
2026-08-03 08:22:30 +00:00
2026-08-10 20:23:45 +03:00
2026-06-24 00:43:11 +03:00
2026-05-13 10:35:12 +03:00
2026-05-13 10:35:12 +03:00
2026-08-10 16:10:03 +03:00
2026-07-29 19:59:41 +03:00
2026-08-10 20:23:45 +03:00
2026-06-24 16:51:17 +03:00
2026-07-29 17:26:11 +03:00
2026-06-05 13:36:39 +03:00
2026-07-21 20:52:20 +03:00
2026-07-21 20:52:20 +03:00
2026-08-11 12:58:36 +03:00
2026-08-05 16:39:05 +03:00
2026-07-13 01:43:35 +03:00
2026-07-13 01:43:35 +03:00
2026-07-21 20:52:20 +03:00
2026-07-21 20:52:20 +03:00
2026-08-05 11:48:31 +03:00
2026-08-05 11:48:31 +03:00
2026-07-17 10:30:45 +03:00
2026-08-09 19:30:25 +03:00
2026-08-03 11:05:27 +00:00
2026-08-03 09:25:25 +00:00
2026-08-03 09:55:56 +00:00
2026-06-26 19:27:53 +03:00
2026-05-23 20:51:45 +03:00
2026-07-31 12:51:15 +03:00
2026-07-31 12:51:15 +03:00
2026-07-31 12:51:15 +03:00
2026-07-24 21:54:28 +03:00
2026-06-02 00:43:05 +03:00
2026-06-02 00:43:05 +03:00
2026-07-12 00:46:41 +03:00
2026-07-30 20:07:08 +03:00
2026-07-29 19:59:41 +03:00