解决方法 尝试下面java.sql.sqlException: Io exception: The Network Adapter Could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwsqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwsqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwsqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:439)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:297)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:221)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:157)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:94)
at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:1567)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getCacheConnection(OracleImplicitConnectionCache.java:478)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:347)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:404)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:189)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:165)
>(显而易见)IP地址不正确 – 尝试Ping>端口未打开,或被防火墙阻止 – 尝试TELNET> DB侦听器未运行或绑定到其他网络接口 – 再次,TELNET应该确认这一点(也使用Oracle客户端连接工具)>没有本地端口可用于外出连接(不太可能) – 只有你正在建立成千上万的联系,或者每分钟创建数百个新连接.
总结以上是内存溢出为你收集整理的linux – ORACLE:Io异常:网络适配器无法建立连接全部内容,希望文章能够帮你解决linux – ORACLE:Io异常:网络适配器无法建立连接所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)