Querable encryption with atlas

I am trying to implement queryable encryption according to the official tutorial for node JS.

I am getting the following error

Error: Unable to create encrypted collection due to the following error: MongoCryptCreateEncryptedCollectionError: Unable to create collection: connect ECONNREFUSED

Sharing system details below
Node JS version : v21.6.1
Mongo Db atlas : 7.2.0 M10 cluster

I am trying to use the automatic encryption library