[solved] Cannot access page on localhost, ports not working Hyper-V?

Expected behavior

I want to be able to see my website.

Actual behavior

This site can’t be reached

localhost refused to connect.

Information

Windows 10 Pro
Docker 1.11.1-beta10 (build: 2446)
51937ce

Steps to reproduce the behavior

  1. Create a node application that listen on port 3000 and expose port 3000 on Dockerfile
  2. Run
docker run --rm -p 8080:3000 -v C:\bla\bla\app:/usr/src/app image_name npm start

Application output

> myapp@0.0.1 start /src
> node server.js

Listening at http://0.0.0.0:3000

More info

  • Exact same application that works on Docker for Linux.
  • I also tried running yo aspnet, same issue.

Am I missing some config?

This works: http://docker:8080/

1 Like