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

Server Fault | Hariharbalaji | 7 years 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

    How to connect to oracle server in java? - Server Fault

    serverfault.com | 9 months ago
    java.sql.SQLException: The Network Adapter could not establish the connection
  2. 0

    How to connect to oracle server in java?

    Server Fault | 7 years ago | Hariharbalaji
    java.sql.SQLException: The Network Adapter could not establish the connection
  3. 0

    java.sql.SQLException: The Network Adapter could ... | DaniWeb

    daniweb.com | 2 years ago
    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

    Does Oracle 11gR2 actually support IPV6?

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

    The network adapter could not establish the connection - Oracle 11g

    Stack Overflow | 4 years ago | Ash
    java.sql.SQLException: The Network Adapter could not establish the connection

  1. iferca 1 times, last 2 weeks ago
  2. Nikolay Rybak 1010 times, last 2 weeks ago
  3. mauritius 7 times, last 2 weeks ago
  4. andyglick 1 times, last 2 weeks ago
  5. stigkj 15 times, last 3 weeks ago
50 more registered users
45 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.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(Unknown Source)
    3. java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    4. java.net.PlainSocketImpl.connect(Unknown Source)
    5. java.net.SocksSocketImpl.connect(Unknown Source)
    6. java.net.Socket.connect(Unknown Source)
    6 frames
  3. Oracle jdbc
    OracleDriver.connect
    1. oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:141)
    2. oracle.net.nt.ConnOption.connect(ConnOption.java:123)
    3. oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:337)
    4. oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422)
    5. oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:672)
    6. oracle.net.ns.NSProtocol.connect(NSProtocol.java:237)
    7. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)
    8. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)
    9. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531)
    10. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
    11. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    12. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
    12 frames
  4. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  5. com.wipro.sample
    min.main
    1. com.wipro.sample.min.main(min.java:28)
    1 frame