Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Unable to send message to Service Bus Queue

$
0
0

Hi,

I am following the below MS link to create my first client application that could send messages to Service Bus Queue. I am a beginner to start using Service Bus.

https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dotnet-get-started-with-queues

I have followed the instructions as specified above and I am using VS 2019 and Microsoft.Azure.ServiceBus to create my client application. When I run my console application I get the below error, which I think is a firewall issue as I am running it from my work station.

Exception: No connection could be made because the target machine actively refused it ErrorCode

While googling I found the below link which says, the connection to the Service bus queue is via TCP port 5671/5672.

https://serverfault.com/questions/918615/message-could-not-be-send-to-a-azure-cloud-message-queue 

Can someone suggest if that's true, then I will ask our network team to open these two ports on the Firewall. If you have any other suggestions then please let me know.

Regards

Biranchi



Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>