[Vuejs]-Cannot connect to docker container (localhost) MAC m1 ARM

1👍

You need to forward traffic from a port on your machine to port 8080 in the container (docker compose ports). In your client add

    ports:
      - "8080:8080"

Then you contact the container on localhost:8080.

👤Hoopra

Leave a comment