A Program inside a Docker Container Access Private Service on Host without Making It Public
Sometimes, we want to make a program running inside a docker container to access a private service which listens to 127.0.0.1 only on the host. Most of the time, we simplicity make the service listen to 0.0.0.0. But this might make the service insecure.