I am using windows server 2016 wherein i have docker installed.
I have started docker container as :-
docker run --name “containername” -it -p 5050:5050 “imagename”
To obtain ip address of above container I did command :
"docker inspect containerid"
And I was able to use my web app on same machine using the ipaddress obtained above (http://ipaddress)
Now i want to access this docker container using host ip, how can i do it ?
Any help would be appreciated.
I tried accessing this container using http://“ip_address_of _host”:“port_number” but it does not work.
Same thing works on Linux but not on Windows server 2016 or Windows 10.
Is there a different to do so on Windows platform ?