Here it is my Dockerfile
Dockerfile:
FROM openjdk:8
ADD target/demo.jar demo.jar
EXPOSE 8080
ENTRYPOINT ["java","-jar","demo.jar"]
It is running inside the docker container. when i run curl -v http://192.168.99.100:8080
in the docker window, It shows the result.
But when I run in browser , It is not working. I have tried both http://192.168.99.100:8080
and http://localhost:8080
. How to connect my docker ip from browser?