Docker has its own networking space, trying to connect to the local IP Address of the container won’t work when the database is on the host machine. Normally you would provide the hostname, ip address or use localhost if the database is installed on the same machine locally ie 127.0.0.1. But when the database is …
Continue reading “Connect to a locally installed database from a Docker container”