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 Google Groups by Yan Zhou, 1 year ago
Connection refused: connect to address localhost/127.0.0.1:5702
via GitHub by mmoayyed
, 1 year ago
Connection refused: connect to address localhost/127.0.0.1:5702
via Stack Overflow by I test only in Prod
, 1 year ago
No buffer space available (maximum connections reached?): connect: /someotherserver.com:8082 (this is another resource to which my app is making connection)
java.net.SocketException: Connection refused: connect to address localhost/127.0.0.1:5702	at sun.nio.ch.Net.connect0(Native Method)	at sun.nio.ch.Net.connect(Net.java:465)	at sun.nio.ch.Net.connect(Net.java:457)	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:670)	at com.hazelcast.nio.tcp.SocketConnector.connectSocketChannel(SocketConnector.java:157)	at com.hazelcast.nio.tcp.SocketConnector.tryToConnect(SocketConnector.java:132)	at com.hazelcast.nio.tcp.SocketConnector.run(SocketConnector.java:68)	at com.hazelcast.util.executor.CachedExecutorServiceDelegate$Worker.run(CachedExecutorServiceDelegate.java:209)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)	at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:76)	at com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:92)