From 1a93b148e1f38bda0c0d73ebb39187a0a7afd4c0 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Tue, 19 Nov 2024 18:15:17 +0800 Subject: [PATCH] fix: unable to connect to grpc server issue --- core/utils/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/utils/config.go b/core/utils/config.go index 2ec04c3f..018d3bb1 100644 --- a/core/utils/config.go +++ b/core/utils/config.go @@ -16,7 +16,7 @@ const ( DefaultServerPort = 8000 DefaultGrpcHost = "localhost" DefaultGrpcPort = 9666 - DefaultGrpcServerHost = "127.0.0.1" + DefaultGrpcServerHost = "0.0.0.0" DefaultGrpcServerPort = 9666 DefaultAuthKey = "Crawlab2024!" DefaultApiEndpoint = "http://localhost:8000"