java.net.ConnectException

Connection refused: connect

Samebug tips2

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

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


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web369

  • via Stack Overflow by damodaram
    ,
  • via Stack Overflow by ovod
    ,
  • Stack trace

    • java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    mauritiusmauritius
    2 times, last one
    Unknown visitor
    Unknown visitor2 times, last one
    aidoanaidoan
    2 times, last one
    AxeloAxelo
    17 times, last one
    92 more bugmates