java.net.ConnectException: Connection timed out

james-server-user | Álvaro Póliz | 9 years ago
  1. 0

    Problem with JAMES and Database connection

    james-server-user | 9 years ago | Álvaro Póliz
    java.net.ConnectException: Connection timed out
  2. 0

    Java - JDBC driver and MySQL database connection issues

    Stack Overflow | 6 years ago | Jason
    java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.net.ConnectException on Liferay with MYSQL - Forums | Liferay

    liferay.com | 2 years ago
    java.net.ConnectException: Connection refused: connect

  1. linxiaolong 18 times, last 3 weeks ago
  2. Kialandei 1 times, last 1 month ago
  3. DoktorDoener666 41 times, last 2 weeks ago
  4. kjhdofjosvs 2 times, last 1 month ago
  5. Gatgeagent 1 times, last 2 months ago
22 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 timed out

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    5. java.net.Socket.connect(Socket.java:464)
    6. java.net.Socket.connect(Socket.java:414)
    7. java.net.Socket.<init>(Socket.java:310)
    8. java.net.Socket.<init>(Socket.java:125)
    8 frames
  3. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:124)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:225)
    3. com.mysql.jdbc.Connection.createNewIO(Connection.java:1895)
    4. com.mysql.jdbc.Connection.<init>(Connection.java:450)
    5. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411)
    5 frames
  4. Commons DBCP
    BasicDataSource.createDataSource
    1. org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
    2. org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
    3. org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
    4. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
    4 frames
  5. org.apache.james
    JdbcDataSource$1.createDataSource
    1. org.apache.james.util.dbcp.JdbcDataSource$1.createDataSource(JdbcDataSource.java:113)
    1 frame
  6. Commons DBCP
    BasicDataSource.setLogWriter
    1. org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:598)
    1 frame
  7. org.apache.james
    JdbcDataSource.configure
    1. org.apache.james.util.dbcp.JdbcDataSource.configure(JdbcDataSource.java:157)
    1 frame
  8. org.apache.avalon
    DefaultDataSourceSelector.initialize
    1. org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector.initialize(DefaultDataSourceSelector.java:147)
    1 frame
  9. Avalon
    ContainerUtil.initialize
    1. org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
    1 frame
  10. org.apache.avalon
    DefaultApplication.start
    1. org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200)
    2. org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
    3. org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
    4. org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
    5. org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180)
    5 frames
  11. Avalon
    ContainerUtil.start
    1. org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
    1 frame
  12. org.apache.avalon
    CLIMain.main
    1. org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:295)
    2. org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:376)
    3. org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:357)
    4. org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
    5. org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:535)
    6. org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:520)
    7. org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:509)
    8. org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:268)
    9. org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:198)
    10. org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:184)
    11. org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:145)
    11 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  14. org.apache.avalon
    Main.main
    1. org.apache.avalon.phoenix.launcher.Main.startup(Main.java:135)
    2. org.apache.avalon.phoenix.launcher.Main.main(Main.java:84)
    2 frames