Problem forwarding port on Windows

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 <name>

Connected to the docker:

  • port is opened

    tcp 0 0 localhost:5000 : LISTEN

  • lynx can navigate

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

1 Like

You probably need to make sure the server process is listening for external requests vs. just localhost ones. Details here: