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.

  • Cannot open .jar file on MAC
    via Stack Overflow by Nick
    ,
  • REG: Ubuntu 10.04 Olio PHP install
    via by srivatsan jagannathan,
  • Mysql not connecting
    via by 785454,
  • Connection refused
    via by 843854,
  • second request of servlet cause hibernate problem
    via by Yahya Elyasse,
    • 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:271) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771) at com.mysql.jdbc.Connection.<init>(Connection.java:1555) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:208) at DatabaseConnector.getConnection(DatabaseConnector.java:34) at DatabaseConnector.foundTable(DatabaseConnector.java:65) at TextOutput.<init>(TextOutput.java:21) at Crawler.main(Crawler.java:77)

    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