简体   繁体   中英

How to access a docker container from another machine than its windows host?

I Am able to run tomcat and deployed my war file.
And I am able to run the app/rest web service via http://192.168.99.100:8887/RestServ/rest/hello/text .

However, when I hit the above URL in some other machine, it returns nothing/blank.

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

how I can run my application from 'anywhere'

You would need to:

Those steps are not specific to docker.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM