Replies: 3 comments 2 replies
-
Hi, thanks for using RabbitMQ and streams.
That error means one of these things:
When you start RabbitMQ, ensure the following is logged to the console / file:
On my Win 11 laptop, after starting RabbitMQ with the appropriate plugins,
|
Beta Was this translation helpful? Give feedback.
-
@adammckay a one line problem description is not enough, we do not guess in this community.
is Windows speak for "target host does not have a TCP socket bound to the said port", which means |
Beta Was this translation helpful? Give feedback.
-
Thanks for the PS Scripts.
Michael - in my defense, I didn't give you one line or ask you to guess. I
gave you your own code from github and told you what line errors. I then
explained how it is NOT the configuration or ports or else the previous
line of code would not have been able to create a queue.
I will continue to troubleshoot. Thanks
…On Mon, Sep 8, 2025 at 12:17 PM Michael Klishin ***@***.***> wrote:
To clarify why the above setting can be important specifically for
streams: Stream Client Connections
<https://www.rabbitmq.com/docs/stream-connections>.
—
Reply to this email directly, view it on GitHub
<#655 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJ7QUQ5PZOMWDZ5WO3HVET3RWT3LAVCNFSM6AAAAACF56K6JSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMZUGIZTSMI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
An exception of type 'System.Net.Sockets.SocketException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'No connection could be made because the target machine actively refused it.'
This is the send.cs file:
rabbitmq-tutorials/dotnet-stream/Send/Send.cs
This is the line where the error occurs (line 12):
var producer = await Producer.Create(new ProducerConfig(streamSystem, "hello-stream"));
Obviously, the first suspicion is that the endpoint or user/pass is set wrong. However, I have confirmed that they are set correctly and in line 7, my stream is indeed being created correctly. So that tells me that the host / port / user / pass are all set just fine.
await streamSystem.CreateStream(new StreamSpec("hello-stream")
I have checked other things like .net fw set to 8.0, latest client, streams plugin enabled, etc.
Reproduction steps
...
Expected behavior
I would expect the example code to just cruise along to finish and create a message.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions