1

I am using Docker desktop in Windows.

Now I am running rabbitmq inside docker. I can access the rabbitMq using localhost:5672 from my browser.

However, when I try to access the rabbitMq from my mobile device's browser using:

host-computer-ip:5672, it doesn't work. My mobile device is connected to the same network using wifi.

But, if I run the rabbit standalone (not inside docker), then I can reach it from my mobile's browser using host-computer-ip:5672

Here is my docker-compose:

rabbit:
    container_name: rabbitmq
    restart: always
    image: rabbitmq:3
    ports:
      - "5672:5672"
      - "15692:15692"
Junaed
  • 1,457
  • 13
  • 15
  • Does this answer your question? [How to connect to a docker container from outside the host (same network) \[Windows\]](https://stackoverflow.com/questions/33814696/how-to-connect-to-a-docker-container-from-outside-the-host-same-network-windo) – Maroun Jun 30 '21 at 12:12
  • Unfortunately not, I am using docker desktop, not virtualbox – Junaed Jun 30 '21 at 13:08
  • @Junaed hi, im having the same issue. did you find a solution yet? – shanksu 218 Sep 26 '22 at 11:38

0 Answers0