java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

51cto.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    我的tomcat不能访问了,我看了一下日志文件,大家能不能帮我分析一下原因? - 开源中国社区

    oschina.net | 2 years ago
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    测试oracle数据源报错

    GitHub | 4 months ago | Pamgo
    java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: 127.0.0.1:1521:my_base
  4. 0

    getting exception: The Network Adapter could not establish the connection in simple jdbc program

    Stack Overflow | 5 years ago
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

  1. osvzs 12 times, last 4 weeks ago
  2. tomthomas 1 times, last 3 months ago
  3. treefolk 21 times, last 5 months ago
  4. Michael 1 times, last 9 months ago
  5. Jeremy 1 times, last 9 months ago
2 more registered users
46 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    Io exception: The Network Adapter could not establish the connection

    at oracle.jdbc.driver.DatabaseError.throwSqlException()
  2. Oracle jdbc
    OracleDriver.connect
    1. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    2. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    3. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
    4. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
    5. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
    6. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    7. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    8. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    8 frames
  3. druid
    DruidDataSource$CreateConnectionThread.run
    1. com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1353)
    2. com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1409)
    3. com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1649)
    3 frames