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

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more