java.net.ConnectException: Connection refused: connec t

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 mkyong.com by Unknown author, 10 months ago
via mkyong.com by Unknown author, 10 months ago
via GitHub by 17thatch
, 1 year ago
Connection refused: connect
via jmeter-archive.org by Unknown author, 7 months ago
via Stack Overflow by venicum
, 2 years ago
via GitHub by plammy
, 2 years ago
Connection timed out: connect
java.net.ConnectException: Connection refused: connec t
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.(Unknown Source)
at undefined.InstallCert.main(InstallCert.java:94)

Users with the same issue

257 times, 2 days ago
Once, 3 days ago
3 times, 3 days ago
24 times, 3 days ago
91 times, 6 days ago

Write tip

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