From 9c01403865157aecf4102b013155173177f436fd Mon Sep 17 00:00:00 2001 From: Pavan Kumar Date: Wed, 13 May 2020 18:48:41 +0530 Subject: [PATCH] default to 0.0.0.0 for Deno.listen (#5203) --- cli/js/net.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/js/net.ts b/cli/js/net.ts index 6ba93dd296..0c40cceae3 100644 --- a/cli/js/net.ts +++ b/cli/js/net.ts @@ -151,7 +151,7 @@ export function listen( export function listen(options: ListenOptions): Listener { const res = netOps.listen({ transport: "tcp", - hostname: "127.0.0.1", + hostname: "0.0.0.0", ...(options as ListenOptions), });