java.net.ConnectException: В соединении отказано

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 GitHub by MikhailMendelbaum
, 1 year ago
В соединении отказано
via GitHub by MikhailMendelbaum
, 1 year ago
В соединении отказано
via sql.ru by Unknown author, 1 year ago
via rsdn.ru by Unknown author, 1 year ago
java.net.ConnectException: В соединении отказано
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 java.net.Socket.(Socket.java:434)
at java.net.Socket.(Socket.java:211)
at com.bwsw.tstreams.coordination.client.CommunicationClient$.com$bwsw$tstreams$coordination$client$CommunicationClient$$openSocket(CommunicationClient.scala:25)
at com.bwsw.tstreams.coordination.client.CommunicationClient.com$bwsw$tstreams$coordination$client$CommunicationClient$$getSocket(CommunicationClient.scala:58)
at com.bwsw.tstreams.coordination.client.CommunicationClient$$anonfun$sendAndWaitResponse$1.apply(CommunicationClient.scala:93)
at com.bwsw.tstreams.coordination.client.CommunicationClient$$anonfun$sendAndWaitResponse$1.apply(CommunicationClient.scala:92)
at com.bwsw.tstreams.coordination.client.CommunicationClient.withRetryDo(CommunicationClient.scala:75)
at com.bwsw.tstreams.coordination.client.CommunicationClient.sendAndWaitResponse(CommunicationClient.scala:92)
at com.bwsw.tstreams.coordination.client.TcpTransport.transactionRequest(TcpTransport.scala:90)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$generateNewTransaction$1.apply(PeerAgent.scala:304)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$generateNewTransaction$1.apply(PeerAgent.scala:295)
at com.bwsw.tstreams.common.LockUtil$.withLockOrDieDo(LockUtil.scala:49)
at com.bwsw.tstreams.coordination.producer.PeerAgent.generateNewTransaction(PeerAgent.scala:295)
at com.bwsw.tstreams.agents.producer.Producer.newTransaction(Producer.scala:176)
at agents.integration.TestWithMasterSwitching$$anonfun$1$$anon$3$$anonfun$run$2.apply$mcVI$sp(TestWithMasterSwitching.scala:83)
at agents.integration.TestWithMasterSwitching$$anonfun$1$$anon$3.run(TestWithMasterSwitching.scala:81)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

130 times, 44 minutes ago
11 times, 1 day ago
26943 times, 1 day ago
4 times, 3 days ago
5 times, 3 days ago

Write tip

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