Mastering Development

docker can’t access container from localhost

I can’t access container app from my host. It is just a simple ExpressJS app I built for testing. I am running a Windows 10 Pro with Hyper-V. This is the result of docker version Client: Docker Engine – Community Version: 19.03.8 API version: 1.40 Go version: go1.12.17 Git commit: afacb8b Built: Wed Mar 11 […]


Docker can’t access app in Host when port binding 8080

I have a docker image with a Java spring boot application which starts and run with no problem in a docker container at the port 8080 as you can see in a portion of the logs: 2020-02-24 02:09:07.906 INFO : Tomcat started on port(s): 8080 (http) with context path ‘/web-app’ 2020-02-24 02:09:07.909 INFO : Started […]