com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][4.14.146] Eccezione java.net.ConnectException: errore durante l'apertura del socket sul server /xxx.xxx.xxx.xxx sulla porta 50.000 con il messaggio Connection timed out: connect. ERRORCODE=-4499, SQLSTATE=08001

Stack Overflow | Emilio Diana | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0

    JDBC connection timed out on Windows 10

    Stack Overflow | 7 months ago | Emilio Diana
    com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][4.14.146] Eccezione java.net.ConnectException: errore durante l'apertura del socket sul server /xxx.xxx.xxx.xxx sulla porta 50.000 con il messaggio Connection timed out: connect. ERRORCODE=-4499, SQLSTATE=08001
  2. 0

    Connect to db2 server in windows

    Stack Overflow | 2 years ago
    com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][3.68.61] Exception java.net.ConnectException: Error opening socket to server /192.168.80.1 on port 50,000 with message: Connection timed out: connect. ERRORCODE=-4499, SQLSTATE=08001
  3. 0

    DB2 and MyBatis Connection refused: connect. ERRORCODE=-4499, SQLSTATE=08001

    Stack Overflow | 4 months ago | ryuuuuuusei
    com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][4.19.49] Exception java.net.ConnectException: Error opening socket to server localhost/127.0.0.1 on port 50,000 with message: Connection refused: connect. ERRORCODE=-4499, SQLSTATE=08001
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate error for DB2 10.5 Connection refused: connect. ERRORCODE=-4499, SQLSTATE=08001

    Stack Overflow | 2 years ago | VSRSarma Chinta
    java.net.ConnectException: Error opening socket to server localhost/127.0.0.1 on port 5,000 with message: Connection refused: connect. ERRORCODE=-4499, SQLSTATE=08001
  6. 0
    samebug tip
    Your firewall blocks the connection, disable it.

  1. osvzs 4 times, last 1 day ago
  2. poroszd 2 times, last 4 days ago
  3. raytest 3 times, last 2 weeks ago
  4. Dunmer 264 times, last 3 weeks ago
  5. jf-ast 2 times, last 3 weeks ago
62 more registered users
33 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: connect

    at java.net.DualStackPlainSocketImpl.connect0()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    3. java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    5. java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    6. java.net.PlainSocketImpl.connect(Unknown Source)
    7. java.net.SocksSocketImpl.connect(Unknown Source)
    8. java.net.Socket.connect(Unknown Source)
    8 frames
  3. IBM DB2
    w.run
    1. com.ibm.db2.jcc.t4.w.run(w.java:49)
    1 frame
  4. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  5. IBM DB2
    b.<init>
    1. com.ibm.db2.jcc.t4.wb.a(wb.java:420)
    2. com.ibm.db2.jcc.t4.wb.<init>(wb.java:93)
    3. com.ibm.db2.jcc.t4.a.b(a.java:354)
    4. com.ibm.db2.jcc.t4.b.newAgent_(b.java:2030)
    5. com.ibm.db2.jcc.am.Connection.initConnection(Connection.java:732)
    6. com.ibm.db2.jcc.am.Connection.<init>(Connection.java:680)
    7. com.ibm.db2.jcc.t4.b.<init>(b.java:334)
    7 frames
  6. com.ibm.db2
    DB2Driver.connect
    1. com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:233)
    2. com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:199)
    3. com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:475)
    4. com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:116)
    4 frames
  7. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  8. main
    TestDb2.main
    1. main.TestDb2.main(TestDb2.java:20)
    1 frame