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, 11 months ago
via mkyong.com by Unknown author, 11 months ago
via GitHub by 17thatch
, 1 year ago
Connection refused: connect
via jmeter-archive.org by Unknown author, 8 months ago
via Oracle Community by NeethuAjayan, 1 year ago
Connection refused: connect
via Stack Overflow by venicum
, 2 years ago
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

2 times, 8 hours ago
332 times, 10 hours ago
39 times, 1 week ago
Once, 1 month ago
91 times, 1 month ago

Write tip

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