From 5787b08703b8f08a5a12fa9835a610a106c77de9 Mon Sep 17 00:00:00 2001 From: Evan Sangaline Date: Sun, 14 Jan 2024 09:17:57 -0600 Subject: [PATCH] Use localhost instead of 0.0.0.0 for local connections. --- lib/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/proxy.ts b/lib/proxy.ts index 5a8154e..1d09341 100644 --- a/lib/proxy.ts +++ b/lib/proxy.ts @@ -487,7 +487,7 @@ export class Proxy implements IProxy { const conn = net.connect( { port, - host: "0.0.0.0", + host: "localhost", allowHalfOpen: true, },