when running my container with
docker run -p 5000:5000
I’d like to access it via a browser on the host with
http://localhost:5000
however this will not work. Lots of related threads go back to 2018 or even 2017, so I’d like to ask if there is a solution by now (end of 2019)? and optimally a detailed list of steps to do?
internet resources:
- https://docs.docker.com/docker-for-windows/networking/
- Unable to access docker exposed port on windows machine
- ://forums.docker.com/t/cant-connect-to-container-on-localhost-with-port-mapping/52716
- ://github.com/docker/for-win/issues/204
- ://stackoverflow.com/questions/43769806/docker-desktop-for-windows-cannot-access-service-on-exposed-port-in-windows-con
[new-forum-user-limited-to-2-links-policy made me break some links - copy/paste them manually]