java.net.SocketException: java.net.BindException: Address already in use: connect

percona.com | 8 months 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

    What To Tune In MySQL Server After Installation

    percona.com | 8 months ago
    java.net.SocketException: java.net.BindException: Address already in use: connect
  2. 0

    MySQL Bugs: #16161: java.net.BindException: Address already in use

    mysql.com | 12 months ago
    java.net.SocketException: java.net.BindException: Address already in use: connect
  3. 0

    MySQL :: Address already in use: connect

    mysql.com | 12 months ago
    java.net.SocketException: java.net.BindException: Address already in use: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java

    magicmonster.com | 12 months ago
    java.net.SocketException: java.net.BindException: Address already in use: connect
  6. 0

    as long as i close them, i can open as many connections as i want?

    Oracle Community | 4 years ago | 860579
    java.net.SocketException: java.net.BindException: Address already in use: connect

  1. esaar 6 times, last 8 months ago
1 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.SocketException

    java.net.BindException: Address already in use: connect

    at com.mysql.jdbc.StandardSocketFactory.connect()
  2. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
    3. com.mysql.jdbc.Connection.createNewIO(Connection.java:2641)
    4. com.mysql.jdbc.Connection.<init>(Connection.java:1531)
    5. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
    5 frames
  3. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:579)
    2. java.sql.DriverManager.getConnection(DriverManager.java:243)
    2 frames
  4. biopayroll
    rep_emp_attendance_register$4.actionPerformed
    1. biopayroll.jdbcConnection.myStringGet(jdbcConnection.java:258)
    2. biopayroll.rep_emp_attendance_register.get_gh_holiday(rep_emp_attendance_register.java:693)
    3. biopayroll.rep_emp_attendance_register.jButton4ActionPerformed(rep_emp_attendance_register.java:311)
    4. biopayroll.rep_emp_attendance_register.access$300(rep_emp_attendance_register.java:33)
    5. biopayroll.rep_emp_attendance_register$4.actionPerformed(rep_emp_attendance_register.java:250)
    5 frames
  5. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
    2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    6. java.awt.Component.processMouseEvent(Component.java:6504)
    7. javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
    8. java.awt.Component.processEvent(Component.java:6269)
    9. java.awt.Container.processEvent(Container.java:2229)
    10. java.awt.Component.dispatchEventImpl(Component.java:4860)
    11. java.awt.Container.dispatchEventImpl(Container.java:2287)
    12. java.awt.Component.dispatchEvent(Component.java:4686)
    13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
    15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    16. java.awt.Container.dispatchEventImpl(Container.java:2273)
    17. java.awt.Window.dispatchEventImpl(Window.java:2713)
    18. java.awt.Component.dispatchEvent(Component.java:4686)
    19. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
    20. java.awt.EventQueue.access$000(EventQueue.java:101)
    21. java.awt.EventQueue$3.run(EventQueue.java:666)
    22. java.awt.EventQueue$3.run(EventQueue.java:664)
    23. java.security.AccessController.doPrivileged(Native Method)
    24. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    25. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    26. java.awt.EventQueue$4.run(EventQueue.java:680)
    27. java.awt.EventQueue$4.run(EventQueue.java:678)
    28. java.security.AccessController.doPrivileged(Native Method)
    29. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    30. java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
    31. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
    32. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    33. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    34. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    35. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    36. java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
    36 frames