# Access Docker container using host (windows server 2016) ip

**URL:** <https://forums.docker.com/t/access-docker-container-using-host-windows-server-2016-ip/34257>\
**Category:** Windows Server 2016\
**Created:** [June 30, 2017, 10:50am UTC](https://forums.docker.com/t/access-docker-container-using-host-windows-server-2016-ip/34257 "2017-06-30T10:50:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibahrani](https://avatars.discourse-cdn.com/v4/letter/i/fbc32d/32.png) [@ibahrani](https://forums.docker.com/u/ibahrani)\
**Post date:** [June 30, 2017, 10:50am UTC](https://forums.docker.com/t/access-docker-container-using-host-windows-server-2016-ip/34257/1 "2017-06-30T10:50:06Z")

</div>

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](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 ?
