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 3004, 1 year ago
Connection refused: connect
via Oracle Community by 807595, 1 year ago
Connection refused: connect
via Google Groups by funent, 3 months ago
via Coderanch by Juarez Alvares Barbosa Junior, 1 year ago
via Coderanch by Dhana Sen, 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.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.(Unknown Source)
at sun.net.www.http.HttpClient.(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(UnknownSouce)
at sun.net.www.protocol.http.HttpURLConnection.connect(UnknownSource)
at weblogic.webservice.binding.http11.Http11ClientBinding.send(Http11ClentBinding.java:368)
at weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHndler.java:37)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainmpl.java:143)
at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java218)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.ava:143)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jaa:444)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jaa:430)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:270)
at com.globalsight.dotNet.L10nWebServiceEJBPort_Stub.helloWorld(L10nWeberviceEJBPort_Stub.java:70)
at com.globalsight.dotNet.L10nWebServiceClient.main(L10nWebServiceClien.java:49)

Users with the same issue

133 times, 27 minutes ago
11 times, 1 day ago
26943 times, 2 days ago
4 times, 4 days ago
5 times, 4 days ago

Write tip

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