use localhost instead of 127.0.0.1:27017