Only allow localhost connections to MongoDB