I have RabbitMQ running on a Vagrant box (using VirtualBox). I have assigned an IP on a public network.
Now, from another machine, I wish to connect via AMQP, using EasyNetQ. When trying that, I get this error:
ERROR: Failed to connect to Broker: '172.16.130.20', Port: 5672 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
Now, if I try to telnet to that IP on port 5672 (from the same machine where I run the .NET code), I get connected fine.
What could be the reason for EasyNetQ not being able to connect ?