java.net.ConnectException: Connection refused: connect

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

,

Check if your MongoDB is available.

,

Check if your MariaDB is running and available.

Solutions on the web

via Google Groups by bbking, 2 years ago
via Oracle Community by 843829, 1 year ago
Connection refused: connect
via Google Groups by Perry Sandoval, 3 months ago
Connection refused: connect
via Oracle Community by 843797, 1 year ago
Connection refused: connect
via Oracle Community by 807555, 1 year ago
Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:162)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:221)
at weblogic.net.http.HttpClient.(HttpClient.java:85)
at weblogic.net.http.HttpClient.New(HttpClient.java:117)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:99)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:269)
at weblogic.utils.classloaders.URLSource.getInputStream(URLSource.java:23)
at weblogic.utils.classloaders.URLSource.getBytes(URLSource.java:33)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:155)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at weblogic.j2ee.ApplicationManager.loadFromNetwork(ApplicationManager.java:239)
at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:134)
at weblogic.rjvm.ClassTableEntry.getDescriptor(ClassTableEntry.java:37)
at weblogic.rjvm.InboundMsgAbbrev.getDescriptor(InboundMsgAbbrev.java:132)
at weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.java:171)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:90)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:114)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:47)
at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.java:136)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:251)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:225)
at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNode_WLStub.java:121)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
at com.iw.cnapse.util.ejb.Naming.URLlookup(Naming.java:67)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
11 times, 8 months ago
948 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.