go-mongo-docker-example
go-mongo-docker-example copied to clipboard
Unable to run the project
I follow strictly the tutorial, later run the code from this repo with no changes. Che docker-compose runs successfully, but l don't have access to the 8080, nor the 8081.
8080 return: C:\code>curl localhost:8080/posts -d '{"text":"hello"}' curl: (7) Failed to connect to localhost port 8080: Connection refused
8081 return: Forbidden.
Docker version 18.09.1, build 4c52b90 Windows 10, x64, with latest updates.
I can't reproduce this. Maybe the issue is with using volumes on a Windows host.