How to access the docker container from a different computer than its Windows host?

I can run tomcat and deployed my war file.
And I can start the app / rest web service through http://192.168.99.100:8887/RestServ/rest/hello/text .

However, when I hit the above URL on another machine, it returns nothing / empty.

I understand that 192.168.99.100 is a private IP address, but how can I run my application from "anywhere?"

+4
source share
1 answer

how can i run my application from somewhere

You will need:

  • Use a public IP address or a Windows or Mac host.
  • , 8887 (, Windows )

.

0

All Articles