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.

  • HBase RegionServer abort
    via Stack Overflow by mary
    ,
  • Zookeeper cluster set up
    via Stack Overflow by Neeraj Kumar
    ,
  • Zookeeper ensemble not coming up
    via Stack Overflow by java_enthu
    ,
  • Zookeepr shuting down.
    via by dhamodharan...@tcs.com,
  • Ephemeral node not getting deleted
    via by Deepa,
  • Re: Ephemeral node not getting deleted
    via by Camille Fournier,
  • zookeeper server not running
    via Stack Overflow by NotGaeL
    ,
    • java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:382) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:241) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:228) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:431) at java.net.Socket.connect(Socket.java:527) at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:368) at org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:341) at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:449) at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:430) at java.lang.Thread.run(Thread.java:695)

    Users with the same issue

    Unknown visitor1 times, last one,
    Eric Henderson
    16 times, last one,
    batwalrus76
    4 times, last one,
    musketyr
    2 times, last one,
    raytest
    2 times, last one,
    479 more bugmates