java.net.ConnectException: Connection refused

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

Solutions on the web

via Oracle Community by 3004, 1 year ago
via Oracle Community by 666705, 1 year ago
Connection refused
via Oracle Community by 3004, 1 year ago
via Oracle Community by 117302, 1 year ago
via Oracle Community by 3004, 1 year ago
via Oracle Community by 3004, 1 year ago
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
at java.net.Socket.(Socket.java:273)
at java.net.Socket.(Socket.java:127)
at weblogic.rjvm.t3.T3JVMConnection.newSocket(T3JVMConnection.java:324)
at weblogic.rjvm.t3.T3JVMConnection.newSocketWithRetry(T3JVMConnection.java:312)
at weblogic.rjvm.t3.T3JVMConnection.connect(T3JVMConnection.java:74)
at weblogic.rjvm.t3.T3JVMConnection.createConnection(T3JVMConnection.java:148)
at weblogic.rjvm.Protocol.createConnection(Protocol.java:201)
at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:997)
at weblogic.rjvm.ConnectionManager.sendMsg(ConnectionManager.java:439)
at weblogic.rjvm.RJVMImpl.send(RJVMImpl.java:419)
at weblogic.rjvm.MsgAbbrevOutputStream.flushAndSendRaw(MsgAbbrevOutputStream.java:114)
at weblogic.rjvm.MsgAbbrevOutputStream.flushAndSend(MsgAbbrevOutputStream.java:122)
at weblogic.rjvm.MsgAbbrevOutputStream.sendRecv(MsgAbbrevOutputStream.java:144)
at weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRequest.java:84)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:225)
at com.cp2.ejbsfBeanEOImpl_WLStub.ejbsfResult(ejbsfBeanEOImpl_WLStub.java:175)
at com.cp1.rb1.executeAction(rb1.java:99)
at undefined.controller.doGet(controller.java:51)
at undefined.controller.doPost(controller.java:16)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 3 months ago
582 times, 4 months ago
Once, 5 months ago
21 times, 1 year ago
28 times, 1 year ago
949 more bugmates

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