Can't connect MongoDB Shard Cluster

I can connect to MongoDB Replica set by setting connection properties “replicaSet”.
Otherwise, I can’t connect sharding cluster with no set connection properties.
server.log has shown
com.mongodb.MongoTimeoutException: Timed out after 10000 ms while waiting for a server

MongoDB 4.0.2
Dremio 2.1.4