summaryrefslogtreecommitdiff
path: root/cli/tests/echo_server.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-09-30 12:35:48 -0400
committerGitHub <noreply@github.com>2019-09-30 12:35:48 -0400
commit5f7ab4884c4009943c1ede3343ab03750ea4a9e1 (patch)
treecbc5b5e9a31bc496e8264fa2d82509f752d46119 /cli/tests/echo_server.ts
parentc8a5d9c585d15b783ca4d66da0044c5d75157d84 (diff)
Use 0.0.0.0 for servers in benchmarks and tests (#3010)
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);