org.apache.thrift.transport.TTransportException: 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by whisperity
, 1 year ago
java.net.ConnectException: Connection refused
via GitHub by dkrupp
, 1 year ago
java.net.ConnectException: Connection refused
via GitHub by alexbrdn
, 2 months ago
java.net.ConnectException: Connection refused (Connection refused)
org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at org.apache.thrift.transport.THttpClient.flush(THttpClient.java:344)
at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:65)
at cc.codechecker.service.thrift.gen.CodeCheckerDBAccess$Client.send_getRunData(CodeCheckerDBAccess.java:163)
at cc.codechecker.service.thrift.gen.CodeCheckerDBAccess$Client.getRunData(CodeCheckerDBAccess.java:156)
at cc.codechecker.api.thrift.run.list.ListRunsActionThriftImpl.runThrift(ListRunsActionThriftImpl.java:38)
at cc.codechecker.api.thrift.run.list.ListRunsActionThriftImpl.runThrift(ListRunsActionThriftImpl.java:22)
at cc.ecl.action.thrift.ThriftActionImpl.doRealRun(ThriftActionImpl.java:33)
at cc.ecl.action.thrift.ThriftActionImpl.doRealRun(ThriftActionImpl.java:17)
at cc.ecl.action.AbstractActionImpl.doRun(AbstractActionImpl.java:44)
at cc.ecl.action.Action.runWithImpl(Action.java:64)
at cc.ecl.action.SimpleActionRunner.requireResult(SimpleActionRunner.java:152)
at cc.codechecker.api.thrift.result.count.ResultCountActionThriftImpl.runThrift(ResultCountActionThriftImpl.java:54)
at cc.codechecker.api.thrift.result.count.ResultCountActionThriftImpl.runThrift(ResultCountActionThriftImpl.java:23)
at cc.ecl.action.thrift.ThriftActionImpl.doRealRun(ThriftActionImpl.java:33)
at cc.ecl.action.thrift.ThriftActionImpl.doRealRun(ThriftActionImpl.java:17)
at cc.ecl.action.AbstractActionImpl.doRun(AbstractActionImpl.java:44)
at cc.ecl.action.Action.runWithImpl(Action.java:64)
at cc.ecl.action.ActionQueue$QueueItem.runAction(ActionQueue.java:89)
at cc.ecl.action.SimpleActionRunner.runAction(SimpleActionRunner.java:53)
at cc.ecl.action.SimpleActionRunner.run(SimpleActionRunner.java:98)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

5 times, 4 months ago
2 times, 6 months ago
Once, 8 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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