--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You need to make sure that a RabbitMQ node is running locally and listening on port 5672 (which is the default).
On Thu, Apr 20, 2017 at 11:33 AM, Vishal Kumar Singh <vishalkumarsingh1707@gmail.com> wrote:
I am new to GoLang and I am trying to use RabbitMQ with this. Connection is not getting established.conn, err := amqp.Dial("amqp://guest:guest@localhost:5672/")This is the line of code I m trying to establish the coonectionError:dial tcp 127.0.0.1:5672: connectex: No connection could be made because the target machine actively refused itexit status 1
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--MKStaff Software Engineer, Pivotal/RabbitMQ
Also, I'm not sure how the Go client handles vhosts but the vhost in your URI is "" (a blank string).If you want to connect to the default one (/), either per-cent encode it as %2F or leave the slash out of the URI entirely:amqp://guest:guest@localhost:5672
amqp://guest:guest@localhost:5672/%2FSee https://www.rabbitmq.com/uri-spec.html for more details.
On Thu, Apr 20, 2017 at 11:59 AM, Michael Klishin <mkli...@pivotal.io> wrote:
You need to make sure that a RabbitMQ node is running locally and listening on port 5672 (which is the default).
On Thu, Apr 20, 2017 at 11:33 AM, Vishal Kumar Singh <vishalkuma...@gmail.com> wrote:
I am new to GoLang and I am trying to use RabbitMQ with this. Connection is not getting established.conn, err := amqp.Dial("amqp://guest:guest@localhost:5672/")This is the line of code I m trying to establish the coonectionError:dial tcp 127.0.0.1:5672: connectex: No connection could be made because the target machine actively refused itexit status 1
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--MKStaff Software Engineer, Pivotal/RabbitMQ