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?
Last updated on MARCH 29, 2018
Applies to:JDBC - Version 10.2.0.4 and later
Oracle WebLogic Server - Version 126.96.36.199.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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms