Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Check if your MongoDB is available.

  2. ,
    via GitHub by rawlingsj

    host port isnt set

Solutions on the web

via Coderanch by ven jovovich, 1 year ago
IO Error: The Network Adapter could not establish the connection
via Coderanch by ven jovovich, 1 year ago
Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
via oracle.com by Unknown author, 2 years ago
IO Error: The Network Adapter could not establish the connection
via Coderanch by Ray Bell, 3 months ago
IO Error: The Network Adapter could not establish the connection
via Coderanch by Benjamin Weaver, 1 year ago
The Network Adapter could not establish the connection
via Oracle Community by 913779, 1 year ago
The Network Adapter could not establish the connection
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)	at java.net.Socket.connect(Socket.java:520)	at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:150)	at oracle.net.nt.ConnOption.connect(ConnOption.java:133)	at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:370)	at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:434)	at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:687)	at oracle.net.ns.NSProtocol.connect(NSProtocol.java:247)	at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1102)	at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:320)	at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:546)	at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:236)	at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)	at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)	at java.sql.DriverManager.getConnection(DriverManager.java:525)	at java.sql.DriverManager.getConnection(DriverManager.java:171)	at Con.main(Con.java:6)