diff --git a/back/services/grpc.ts b/back/services/grpc.ts index e8ea2282..b04929be 100644 --- a/back/services/grpc.ts +++ b/back/services/grpc.ts @@ -25,7 +25,7 @@ export class GrpcServerService { const grpcPort = config.grpcPort; const bindAsync = promisify(this.server.bindAsync).bind(this.server); await bindAsync( - `0.0.0.0:${grpcPort}`, + `[::]:${grpcPort}`, ServerCredentials.createInsecure(), ); Logger.debug(`✌️ gRPC service started successfully`); diff --git a/back/services/http.ts b/back/services/http.ts index 5391c842..4d65b9d2 100644 --- a/back/services/http.ts +++ b/back/services/http.ts @@ -11,7 +11,7 @@ export class HttpServerService { async initialize(expressApp: express.Application, port: number) { try { return new Promise((resolve, reject) => { - this.server = expressApp.listen(port, '0.0.0.0', () => { + this.server = expressApp.listen(port, '::', () => { Logger.debug(`✌️ HTTP service started successfully`); metricsService.record('http_service_start', 1, { port: port.toString(),