How to solve the problem of Mongodb driver, the connection timed out

I am running tigase on the Microsoft cloud, and there is an error log of mongodb.

The log is because there is a problem with the driver of mongodb, and the connection timed out.

In the same situation, Alibaba Cloud does not have this problem. What is the reason?

DB version:4.0.26

driver version:3.6.3

I hope there is a technical expert to help me solve this problem, thank you very much.