From ec4f8d386d8377f3ae94d0e46e70c7f2b6b9f7e9 Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Thu, 26 Jan 2023 16:35:42 -0500 Subject: [PATCH] listen on 0.0.0.0 specfically --- gql/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gql/server.go b/gql/server.go index 32337856..ef39cc67 100644 --- a/gql/server.go +++ b/gql/server.go @@ -49,7 +49,7 @@ func Server(ctx client.Context) { router.Handle("/graphql", srv) log.Info("Connect to GraphQL playground", "url", fmt.Sprintf("http://localhost:%s", port)) - err := http.ListenAndServe(":"+port, router) //nolint: all + err := http.ListenAndServe("0.0.0.0:"+port, router) //nolint: all if err != nil { panic(err) }