JDBC Connection Fails with Java.sql.SQLException: Io Exception: Connection Refused
(Doc ID 2095932.1)
Last updated on JUNE 23, 2021
Applies to:JDBC - Version 10.2.0.1 and later
Information in this document applies to any platform.
JDBC 10g or 11g connection with the following connection string :
fails with error:
Steps to reproduce:
1. Set CLASSPATH to point to JDBC jar file.
2. Set PATH to point to directory where Java executables reside.
3. Run JDBC connection from java program in <Document: 467804.1> How To Determine The Exact JDBC Driver Version (9.x - 11.x) For Standalone Programs.
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