The Docker Compose > Getting Started docs didn’t work for me on Windows 10. “Step 4: Build and run your app with Compose” says to open http://0.0.0.0:5000 or localhost:5000 in a browser. Neither worked. I kept getting:
This site can’t be reached
localhost refused to connect.
The solution for me was at the very top of the docker cmd window:
docker is configured to use the default machine with IP 192.168.99.100
In a browser when I connected to http://192.168.99.100:5000, and it worked fine.