java.net.ConnectException: Connection refused

Server Fault | atroon | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How can I get Openfire 3.7.1 to 'remember' its configuration?

    Server Fault | 5 years ago | atroon
    java.net.ConnectException: Connection refused
  2. 0

    Mysql and java connection issue on ubuntu communication link failure

    itquestionz.com | 2 years ago
    java.net.ConnectException: Connection refused
  3. 0

    sqoop错误解决 - joomlaer的专栏 - 博客频道 - CSDN.NET

    csdn.net | 1 year ago
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java Mysql database connectivity problem | DaniWeb

    daniweb.com | 1 year ago
    java.net.ConnectException: Connection refused
  6. 0

    REG: Ubuntu 10.04 Olio PHP install

    incubator-olio-user | 5 years ago | srivatsan jagannathan
    java.net.ConnectException: Connection refused

  1. poroszd 1 times, last 4 weeks ago
  2. rp 1 times, last 4 weeks ago
  3. QrCeric 17 times, last 1 month ago
  4. andyglick 56 times, last 3 months ago
  5. tomthomas 1 times, last 3 months ago
27 more registered users
65 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(Unknown Source)
    3. java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    4. java.net.PlainSocketImpl.connect(Unknown Source)
    5. java.net.SocksSocketImpl.connect(Unknown Source)
    6. java.net.Socket.connect(Unknown Source)
    7. java.net.Socket.connect(Unknown Source)
    8. java.net.Socket.<init>(Unknown Source)
    9. java.net.Socket.<init>(Unknown Source)
    9 frames
  3. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271)
    3. com.mysql.jdbc.Connection.createNewIO(Connection.java:2771)
    4. com.mysql.jdbc.Connection.<init>(Connection.java:1555)
    5. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
    5 frames
  4. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  5. org.logicalcobwebs.proxool
    ProxoolDriver.connect
    1. org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39)
    2. org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)
    3. org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:211)
    4. org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89)
    4 frames
  6. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  7. org.jivesoftware.database
    DbConnectionManager.getConnection
    1. org.jivesoftware.database.DefaultConnectionProvider.getConnection(DefaultConnectionProvider.java:86)
    2. org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:124)
    2 frames
  8. org.jivesoftware.openfire
    XMPPServer.<init>
    1. org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:754)
    2. org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:480)
    3. org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:212)
    3 frames
  9. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    5. java.lang.Class.newInstance0(Unknown Source)
    6. java.lang.Class.newInstance(Unknown Source)
    6 frames
  10. org.jivesoftware.openfire
    ServerStarter.main
    1. org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113)
    2. org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)
    2 frames