java.net.ConnectException

tip

Check if your MongoDB is available.


rp
tip

host port isnt set

tip

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

tip

Firewall might be blocking your connection, or MySQL it's not running on your server machine.


rafael
tip

Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.


rafael
tip

Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.


rafael
tip

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

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

  • force jenkins slave to use internal host?
    via Stack Overflow by picoCreator
    ,
  • Zipkin on GKE - errors
    via GitHub by jeremy-wilson
    ,
  • Connecting slave to a jenkins master
    via Stack Overflow by san6086
    ,
  • RMI timeout from remote machime
    via Stack Overflow by itsraja
    ,
    • java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at hudson.remoting.Engine.connect(Engine.java:369) at hudson.remoting.Engine.run(Engine.java:267)

    Users with the same issue

    serious2monkeys
    3 times, last one,
    filipebatista
    2 times, last one,
    Vikram
    1 times, last one,
    Aria Pahlavan
    2 times, last one,
    cesarnog
    13 times, last one,
    478 more bugmates