0

I have created a microservice which is having both consumer and producer for rabbitmq queue. I could run this microservice without any problem in local machine. But when i try to deploy this is docker container , its not able to connect to rabbitmq which in my host machine .

I tried localhost, host machine ip , --add-host , but nothing works for me.

I could ping the host machine ip from container, but telnet is hanging.

dname
  • 153
  • 2
  • 10
  • https://stackoverflow.com/questions/40563469/connecting-to-rabbitmq-docker-container-from-service-in-another-container – Emanuel Pirovano Jul 25 '17 at 13:16
  • How is docker installed on your windows machine? Are you using boot2docker, kitematic or some other installation method? – Jouster500 Jul 25 '17 at 13:57
  • I am using docker tool box. And then i creates a docker-machine which is using boot2docker, and running the image from the machine . docker run -p 5627:5627 -p 15627:15627 – dname Jul 25 '17 at 15:05

0 Answers0