summaryrefslogtreecommitdiff
path: root/cli/tests/echo_server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/echo_server.ts')
-rw-r--r--cli/tests/echo_server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/echo_server.ts b/cli/tests/echo_server.ts
index 82ee1fdab..5c6b5954b 100644
--- a/cli/tests/echo_server.ts
+++ b/cli/tests/echo_server.ts
@@ -1,5 +1,5 @@
const { args, listen, copy } = Deno;
-const addr = args[1] || "127.0.0.1:4544";
+const addr = args[1] || "0.0.0.0:4544";
const [hostname, port] = addr.split(":");
const listener = listen({ hostname, port: Number(port) });
console.log("listening on", addr);