trying to connect to mongo server