For Windows Docker, use the docker-machine ip instead of localhost - use the command docker-machine ip
192.168.99.101 <-- use this ip address
This is only applicable if one is using docker toolbox on windows.
If someone is using docker for windows, it will bind to localhost as in the tutorial.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.