docker-hy.github.io
docker-hy.github.io copied to clipboard
Part 2 scaling example (possibly) has faulty IP-address
There is a short section after Exercise 2.3 discussing scaling.
In one of the code-blocks there is an example of cURLing some ports. However, the IP-address of these cURLs is 0.0.0.0:<some-port>, while I believe they should be the loopback address referring to the host (127.0.0.1:<some-port>)?
While I do think that the 0.0.0.0 should work, it does not on my Windows 10 device (big surprise). Could this IP-address be changed in the material or is there a reason why the 0.0.0.0-address is superior?
A screenshot of the section in discussion.