I have seen the other ticket on Linux. My issue is on Windows.
I want my Java code running inside a Container to connect to MySQL on localhost OR i.e. 127.0.0.1.
I am able to connect to MySQL with either localhost or 127.0.0.1, from the host, but not from within the container.
I've also tried the network option which is --net="host".