I am running locally my docker container. The container basically is a web application. I can establish communication from my host machine to the container by request the endpoint e.g. POST http://localhost:2200/myservice/book
.
Then, I find out the IP address of my local machine 192.168.10.32
, I thought I could still communicate with the container on my host by replacing localhost
to my IP address e.g. `POST http://192.168.10.32:2200/myservice/book . But I can't, the containerized web app can't be reached at all. Why is that? I am under a wifi network.