title: How to configure Shovel plugin for two instances of RabbitMQ running on same machine
body: <p>Sorry if this is repeated question but I am having hard time getting this to work even after doing a lot of search. Thanks for any help in advance!!.</p>
  <p>I have two instances of RabbitMQ running inside docker container running on my machine as shown below.</p>
  <pre><code>C:\WINDOWS\system32&gt;docker ps
  CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS              PORTS                                                                                         NAMES
  20c1ceda0013        datafyit/rabbitmq:shovel   &quot;docker-entrypoint.s…&quot;   4 hours ago         Up About an hour    4369/tcp, 5671/tcp, 15671/tcp, 25672/tcp, 0.0.0.0:32791-&gt;5672/tcp, 0.0.0.0:32790-&gt;15672/tcp   shovel-rabbit-snt
  d467418754ef        datafyit/rabbitmq:shovel   &quot;docker-entrypoint.s…&quot;   4 hours ago         Up 4 hours          4369/tcp, 5671/tcp, 15671/tcp, 25672/tcp, 0.0.0.0:32783-&gt;5672/tcp, 0.0.0.0:32782-&gt;15672/tcp   shovel-rabbit-rcv
  </code></pre>
  <p>I am trying to configure a shovel plugin so that I can pass the messages from broker &quot;shovel-rabbit-snt&quot; through shovel plugin to &quot;shovel-rabbit-rcv&quot; broker and get it in my receiver code.
  But I am not able to get the shovel to running state and getting following error  message always from RabbitMQ management UI.</p>
  <pre><code>{{badmatch,{error,econnrefused}},
   [{rabbit_shovel_worker,make_conn_and_chan,2,
                          [{file,&quot;src/rabbit_shovel_worker.erl&quot;},{line,238}]},
    {rabbit_shovel_worker,handle_cast,2,
                          [{file,&quot;src/rabbit_shovel_worker.erl&quot;},{line,63}]},
    {gen_server2,handle_msg,2,[{file,&quot;src/gen_server2.erl&quot;},{line,1032}]},
    {proc_lib,init_p_do_apply,3,[{file,&quot;proc_lib.erl&quot;},{line,247}]}]}
  </code></pre>
  <p>My Shovel Configuration: -</p>
  <pre><code>Source  amqp://guest:guest@172.17.0.4:32791/
  Sender
  queue
  Destination amqp://guest:guest@172.17.0.2:32783/
  Receiver
  queue
  Prefetch count  ?
  Reconnect delay 
  Add headers ○
  Ack mode    on-confirm
  Auto-delete never.
  </code></pre>