# Problem forwarding port on Windows

**URL:** <https://forums.docker.com/t/problem-forwarding-port-on-windows/10611>\
**Category:** Docker Desktop\
**Tags:** windows\
**Created:** [May 1, 2016, 9:18am UTC](https://forums.docker.com/t/problem-forwarding-port-on-windows/10611 "2016-05-01T09:18:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![deeptowncitizen](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@deeptowncitizen](https://forums.docker.com/u/deeptowncitizen)\
**Post date:** [May 1, 2016, 9:18am UTC](https://forums.docker.com/t/problem-forwarding-port-on-windows/10611/1 "2016-05-01T09:18:28Z")

</div>

Packed ASP Core web service with docker. This service works correctly without Docker.  
Service uses port 5000. In Dockerfile I exposed port 5000.  
Launched docker with:

```
docker run -itd -p 127.0.0.1:8081:5000 <name>

```

Connected to the docker:

- port is opened

- lynx can navigate 127.0.0.1:5000

Now trying to navigate service from client side to the 127.0.0.1:8081, or even using the port from docker-machine ip.  
Service can’t be reached.  
netstat shows that there is no opened port 8081

---

<div class="post-metadata">

**Author:** ![friism](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/friism/32/3570_2.png) [@friism](https://forums.docker.com/u/friism)\
**Post date:** [July 31, 2016, 6:14pm UTC](https://forums.docker.com/t/problem-forwarding-port-on-windows/10611/2 "2016-07-31T18:14:05Z")

</div>

You probably need to make sure the server process is listening for external requests vs. just localhost ones. Details here: [http://stackoverflow.com/a/37617426/2942](http://stackoverflow.com/a/37617426/2942)
