java.net.ConnectException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your MongoDB is available.


rp
tip

host port isnt set

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

  • Unable to perform Sqoop import
    via Stack Overflow by Rahul Kolluri
    ,
  • JAVA Bukkit plugin connecting to MySQL
    via Stack Overflow by WgS Matt
    ,
  • Openshift application shows blank page
    via Stack Overflow by Blitris
    ,
  • MySQL :: Re: JDBC Connection Refused
    via by Unknown author,
  • MySQL :: Can't connect to database.
    via by Unknown author,
    • java.net.ConnectException: Connection refused 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 java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:244) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:308)

    Users with the same issue

    Unknown visitor1 times, last one,
    linxiaolong
    377 times, last one,
    Handemelindo
    1 times, last one,
    poroszd
    5 times, last one,
    stigkj
    4 times, last one,
    820 more bugmates