on-internet
← Community

Cannot connect to RabbitMQ server

Stack Overflow ·

I'm trying to run the sample code, provided by the official page: https://www.rabbitmq.com/tutorials/tutorial-one-dotnet.html I'm using this code: using RabbitMQ.Client; using RabbitMQ.Client.Events; using System; class Send { public static void Main() { var factory = new ConnectionFactory() { HostName = "[email protected]" }; var connection = factory.CreateConnection() //this throwing exception var channel = connection.CreateModel() } } The problem is, that I get these exceptions always: 'RabbitMQ.Client.Exceptions.ConnectFailureException' in RabbitMQ.Client.dll 'RabbitMQ.Client.Excepti

Comments

Sign in or sign up to comment and upvote.

No comments yet.