On windows, I edited the test-db-setup.js file and also the dev.js and testing.js files contained in the config folder.
I changed all the instances of mongodb://localhost:27017 to mongodb://0.0.0.0:27017
I got this from a stackoverflow answer, specifically the second answer.