[rabbitmq-discuss] None of the specified endpoints were reachable

kayslay kayode81until at gmail.com
Mon Sep 10 21:29:59 BST 2012

When I do that I get the following exception:
None of the specified endpoints were reachable
Endpoints attempted:
endpoint=amqp-0-9://localhost:5672, attempts=1
System.Net.Sockets.SocketException (0x80004005): An invalid argument was 
   at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, 
SocketType so
cketType, ProtocolType protocolType)
   at System.Net.Sockets.TcpClient.initialize()
   at System.Net.Sockets.TcpClient..ctor(AddressFamily family)
   at RabbitMQ.Client.Impl.SocketFrameHandler_0_9..ctor(AmqpTcpEndpoint 
pEndpoint endpoint)
   at RabbitMQ.Client.ConnectionFactory.FollowRedirectChain(Int32 
IDictionary connectionAttempts, IDictionary connectionErrors, 
 mostRecentKnownHosts, AmqpTcpEndpoint endpoint)
Stack trace:
   at RabbitMQ.Client.ConnectionFactory.CreateConnection(Int32 maxRedirects)
   at RabbitMQ.Client.ConnectionFactory.CreateConnection()
   at ServerConsole.AddServer.Main(String[] args)

On Monday, September 10, 2012 3:14:58 PM UTC-4, kayslay wrote:
> I have RabbitMQ running on my Windows 7 machine.  I ran it via the command 
> prompt .  I am able to verify that it is up.  When I try to connect to it 
> locally,
>    ConnectionFactory cf = new ConnectionFactory();
>             cf.Uri = "amqp://localhost"
>             using (IConnection conn = cf.CreateConnection())
>             {
> the CreateConnection call throws an exception saying
> "None of the specified endpoints were reachable" 
> I was able to verify that RabbitMQ was running by executing 
> rabbitmq-server.
> Is there something I'm missing, I'm new to RabbitMQ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120910/33749854/attachment.htm>

More information about the rabbitmq-discuss mailing list