go-mongo-docker-example icon indicating copy to clipboard operation
go-mongo-docker-example copied to clipboard

Unable to run the project

Open NedkoHristov opened this issue 6 years ago • 1 comments

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.

NedkoHristov avatar Feb 04 '19 14:02 NedkoHristov

I can't reproduce this. Maybe the issue is with using volumes on a Windows host.

tinrab avatar Feb 04 '19 18:02 tinrab