My Oracle Support Banner

How to Test JDBC Connect String from SQL*Plus to Diagnose Connection Errors (Doc ID 1126784.1)

Last updated on DECEMBER 01, 2017

Applies to:

JDBC - Version 10.2.0.4 and later
Information in this document applies to any platform.

Goal

When trying to connect to the database using JDBC/thin the following error may occur.

IOException: The network adapter could not establish the connection


This is how to test whether or not SQL*Plus has the same issue using the exact same connect string. Then you can confirm if indeed this is purely a JDBC issue or not.

Solution

To view full details, 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 a vibrant support community of peers and Oracle experts.