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

Samebug tips

,
via Stack Overflow by LittlePanda

To restart the Selenium Webdriver mock browser in a testcase, first use driver.close() and then reinstantiate the driver.

,
Expert tip

spring-data-redis requires redis 2.6+ to work properly.

Solutions on the web

via openas2 by irschad
, 1 year ago
Connection refused: connect \[...\]
via Google Groups by larry13767, 2 years ago
Connection refused [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
via servicemix-users by Charles Moulliard, 1 year ago
Connection timed out >> >> at java.net.PlainSocketImpl.socketConnect(Native Method)[:1.6.0_22] at >> >> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)[:1.6.0_22] >> >> at >> >> >> java.net.PlainSocketImpl.connectToAddress
via Netbeans Bugzilla by clever, 1 year ago
Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
via Stack Overflow by user3750336
, 2 years ago
Connection refused: connect</code> <code>at java.net.DualStackPlainSocketImpl.connect0(Native Method)</code> <code>at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)</code> <code>at java.net.AbstractPlainSocketImpl.doConnect
java.net.ConnectException: Connection refused: connect \[...\]
at java.net.Socket.connect(Socket.java:516)

Users with the same issue

44 times, 4 days ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
2 times, 1 month ago
Once, 1 month ago
Once, 1 month ago
488 more bugmates

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