What is the meaning of -4039 error?

Chetan Purohit 0 Reputation points
2024-06-20T11:11:24.4166667+00:00

I am trying to listen to the messages coming from the topic of the service bus created in the Azure Portal. I am using @azure/service-bus npm module to integrate the same in my Node.js application but getting the below mentioned error:

code: 'GeneralError', errno: -4039, port: 5671, syscall: 'connect'

I am looking for the guidance to know the issue. I have checked subscription, connection string, topic name as well as namespace multiple times and found that it is correct.

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
594 questions
0 comments No comments
{count} votes