Unable to connect azure eventhub emulator with Communication Exception: Connection refused: no further information

Bingqiang Xiang 20 Reputation points Microsoft Employee
2025-01-02T06:39:30.4666667+00:00

I try to connect the azure eventhub emulator using connection(Endpoint=sb://localhost;EntityPath=cpc-eh-aldp-forwarderdata-int-int01;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true) string locally, but I got such error:
User's image

And I am sure that the eventhub emulator is launched successfully.User's image

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
671 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bingqiang Xiang 20 Reputation points Microsoft Employee
    2025-01-06T02:23:09.0366667+00:00

    @Smaran Thoomu , thanks for your help. Actually I used the SDK that is encapsulated by Azure Spark. I think I should consult the spark team.
    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.