The default connection time out is 10 seconds in the mongo java driver . I stopped my mongo instance in my local and same time I am trying to connect mongo db from java .
Currently I am getting time out after 10000 ms exception .
My question is: Is it possible to get connection time out exception before the default time out(10000 ms) ?