Why Does a Failed JDBC/Thin Connection Sometimes Fail with a "The Network Adapter could not establish the connection" Exception and Other Times Fail with a "Socket read timed out" Exception?
(Doc ID 1117096.1)
Last updated on JANUARY 23, 2020
Applies to:JDBC - Version 10.2.0.4 and later
Oracle WebLogic Server - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
When the value of oracle.net.CONNECT_TIMEOUT is purposefully set to a value low enough to cause a JDBC/Thin connection to fail, why does the failed connection sometimes fail with a "java.sql.SQLException: Io exception: The Network Adapter could not establish the connection" exception and other times fail with a "java.sql.SQLException: Io exception: Socket read timed out" exception.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document