Getting remote mongodb working