From 6df5089e9a3f4e72a1c4f3c2e4b3acb77330fae6 Mon Sep 17 00:00:00 2001 From: Anton Smirnov Date: Sat, 8 Jan 2022 15:41:06 +0500 Subject: [PATCH] Listen at all network interfaces. --- cli/daemon/daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/daemon/daemon.go b/cli/daemon/daemon.go index 0be6a0289bf..7de787876ad 100644 --- a/cli/daemon/daemon.go +++ b/cli/daemon/daemon.go @@ -112,7 +112,7 @@ func runDaemonCommand(cmd *cobra.Command, args []string) { }() } - ip := "127.0.0.1" + ip := "0.0.0.0" lis, err := net.Listen("tcp", fmt.Sprintf("%s:%s", ip, port)) if err != nil { // Invalid port, such as "Foo"