Access docker container from another machine


1 comment

  • Avatar
    Revathy U

    My tomcat container ip is

    and port that i mapped to it is 8888 


    Actually my project needs java7, tomcat 7 and mysql. I have installed docker in a CentOS vm and created two containers and linked them using link keyword.

    for trial i am trying to run the tomcat container from my local windows machine using http://container_ip:port/appname. but it says connection refused. I am not sure how to connect with my docker container from my local machine.

    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk