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

Solutions on the web

via Oracle Community by 666705, 1 year ago
via Oracle Community by 843798, 1 year ago
via Oracle Community by 803149, 1 year ago
via Oracle Community by 843849, 1 year ago
via Oracle Community by Suren.Khatana, 1 year ago
Connection refused: connect
java.net.ConnectException: Connection refused: connect
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:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:179)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:116)
at javax.naming.InitialContext.bind(InitialContext.java:363)
at org.objectweb.carol.jndi.spi.AbsContext.bind(AbsContext.java:157)
at javax.naming.InitialContext.bind(InitialContext.java:359)
at javax.naming.InitialContext.bind(InitialContext.java:359)
at weblogic.management.logging.DomainLogHandlerImpl.(DomainLogHandlerImpl.java:102)
at weblogic.management.logging.DomainLogHandlerImpl.getInstance(DomainLogHandlerImpl.java:70)
at weblogic.diagnostics.lifecycle.LoggingLifecycleImpl.initialize(LoggingLifecycleImpl.java:71)
at weblogic.diagnostics.lifecycle.DiagnosticSystemService.start(DiagnosticSystemService.java:123)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

Users with the same issue

142 times, 23 hours ago
8 times, 1 day ago
552 times, 2 days ago
11 times, 4 days ago
26943 times, 5 days ago

Write tip

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