eltimn/scamongo

Test fail to connect to mongodb

iwillig opened this issue · 3 comments

I downloaded scamongo and noticed that the tests are connected to mongodb via localhost. On my machine all of the tests failed. I switched the tests to use 127.0.0.1 and it worked. Not sure if thats my database issue or with the tests.

localhost is usually defined in your local dns settings as 127.0.0.1. Your machine must not have that entry.

My mistake, i limited connection to mongodb to 127.0.0.1. Fix not. Sorry I am new to mongodb, but great little library!!!

Closing issue