JDBC Connection Failure: Network Adapter Could not Establish Connection When Using Shared Server
(Doc ID 139775.1)
Last updated on SEPTEMBER 14, 2018
Applies to:JDBC - Version 188.8.131.52 and later
Information in this document applies to any platform.
You are attempting to connect to an Oracle instance using JDBC and you are receiving the following error.
java.sql.SQLException: Io exception:
The Network Adapter could not establish connection
SQLException: SQLState (null) vendor code (17002)
Any or all of the following conditions may also apply:
1) You are able to establish a SQL*Plus connection from the same client to the same Oracle instance.
2) You are able to establish a JDBC OCI connection, but not a Thin connection from the same client to the same Oracle instance.
3) The same JDBC application is able to connect from a different client to the same Oracle instance.
4) The same behavior applies whether the initial JDBC connection string specifies a hostname or an IP address.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!