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

Stack Overflow | Silviu | 9 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

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

    Stack Overflow | 9 months ago | Silviu
    java.sql.SQLException: The Network Adapter could not establish the connection
  2. 0

    Network adapter connection error

    Coderanch | 7 years ago | Gina vernon
    org.hibernate.exception.LockAcquisitionException: Cannot open connection
  3. 0

    Runtime exception while executing sqoop job

    Stack Overflow | 1 year ago | Cast_A_Way
    java.lang.RuntimeException: java.lang.RuntimeException: java.sql.SQLException: The Network Adapter could not establish the connection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Regarding Connecting to Remote Oracle Database

    Oracle Community | 8 years ago | 843859
    java.sql.SQLException: The Network Adapter could not establish the connection
  6. 0

    Can't Set-up Shared Services and Registry DB Connection associated insthome

    Oracle Community | 6 years ago | user96869
    java.sql.SQLException: The Network Adapter could not establish the connection

  1. QrCeric 17 times, last 1 day ago
  2. andyglick 56 times, last 2 months ago
  3. tomthomas 1 times, last 2 months ago
  4. stigkj 4 times, last 2 months ago
  5. michallos 1 times, last 2 months ago
27 more registered users
65 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.net.ConnectException

    Connection refused: connect

    at java.net.DualStackPlainSocketImpl.connect0()
  2. Java RT
    Socket.<init>
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    3. java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    5. java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    6. java.net.PlainSocketImpl.connect(Unknown Source)
    7. java.net.SocksSocketImpl.connect(Unknown Source)
    8. java.net.Socket.connect(Unknown Source)
    9. java.net.Socket.connect(Unknown Source)
    10. java.net.Socket.<init>(Unknown Source)
    11. java.net.Socket.<init>(Unknown Source)
    11 frames
  3. Oracle jdbc
    OracleDriver.connect
    1. oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:127)
    2. oracle.net.nt.ConnOption.connect(ConnOption.java:126)
    3. oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:306)
    4. oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:421)
    5. oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:630)
    6. oracle.net.ns.NSProtocol.connect(NSProtocol.java:329)
    7. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
    8. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
    9. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
    10. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
    11. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
    12. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    12 frames
  4. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  5. testare
    oracle.main
    1. testare.oracle.main(oracle.java:31)
    1 frame