Not sure what the difference, maybe the version. But to make it work, I explicitly created a docker network and ran the containers to make use of it. They were then able to connect after that.