Hi @PrasannaVengadesan_santhanagopalan,
[{address=localhost:27020, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused
This error message means that the driver is unable to establish connection to the mongocryptd (default port 27020). I’d suggest to check whether:
-
mongocryptdis on the PATH, and it’s running - The application is able to connect to the port
Regards,
Wan.