DEV Community

Awan
Awan

Posted on

No connection could be made because the target machine actively refused it.

[Nest] 2320  - 21/01/2025, 08.51.19   ERROR [ExceptionHandler] tonic::transport::Error(Transport, ConnectError(ConnectError("tcp connect error", Os { code: 10061, kind: ConnectionRefused, message: "No connection could be made because the target machine actively refused it." })))

TransportError: tonic::transport::Error(Transport, ConnectError(ConnectError("tcp connect error", Os { code: 10061, kind: ConnectionRefused, message: "No connection could be made because the target machine actively refused it." })))
    at Function.connect (D:\Web\OSP-Web-NodeJS\node_modules\@temporalio\worker\src\connection.ts:52:15)
    at InstanceWrapper.useFactory [as metatype] (D:\Web\OSP-Web-NodeJS\apps\discount-approval-worker\src\app\worker\discount-worker.provider.ts:83:26)
    at Injector.instantiateClass (D:\Web\OSP-Web-NodeJS\node_modules\@nestjs\core\injector\injector.js:369:37)
    at callback (D:\Web\OSP-Web-NodeJS\node_modules\@nestjs\core\injector\injector.js:65:34)
    at Injector.resolveConstructorParams (D:\Web\OSP-Web-NodeJS\node_modules\@nestjs\core\injector\injector.js:144:24)
    at Injector.loadInstance (D:\Web\OSP-Web-NodeJS\node_modules\@nestjs\core\injector\injector.js:70:13)
    at Injector.loadProvider (D:\Web\OSP-Web-NodeJS\node_modules\@nestjs\core\injector\injector.js:97:9)
    at D:\Web\OSP-Web-NodeJS\node_modules\@nestjs\core\injector\instance-loader.js:56:13
    at async Promise.all (index 4)
    at InstanceLoader.createInstancesOfProviders (D:\Web\OSP-Web-NodeJS\node_modules\@nestjs\core\injector\instance-loader.js:55:9)
Enter fullscreen mode Exit fullscreen mode

Karena temporal server nya belum running

Top comments (0)