diff --git a/node/config/def.go b/node/config/def.go index 911177af0..a81ce1b98 100644 --- a/node/config/def.go +++ b/node/config/def.go @@ -65,7 +65,7 @@ func DefaultBoost() *Boost { }, Graphql: GraphqlConfig{ - ListenAddress: "0.0.0.0", + ListenAddress: "127.0.0.1", Port: 8080, }, diff --git a/node/config/doc_gen.go b/node/config/doc_gen.go index 314596306..33ef71442 100644 --- a/node/config/doc_gen.go +++ b/node/config/doc_gen.go @@ -427,7 +427,7 @@ for any other deal.`, Name: "ListenAddress", Type: "string", - Comment: `The ip address the GraphQL server will bind to. Default: 0.0.0.0`, + Comment: `The ip address the GraphQL server will bind to. Default: 127.0.0.1`, }, { Name: "Port", diff --git a/node/config/types.go b/node/config/types.go index d8c1c5b89..df9e31d41 100644 --- a/node/config/types.go +++ b/node/config/types.go @@ -73,7 +73,7 @@ type WalletsConfig struct { } type GraphqlConfig struct { - // The ip address the GraphQL server will bind to. Default: 0.0.0.0 + // The ip address the GraphQL server will bind to. Default: 127.0.0.1 ListenAddress string // The port that the graphql server listens on Port uint64