java.net.BindException: Address in use: connect

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
Address in use: connect
via Google Groups by simon hogg, 2 years ago
Address in use: no further information
via Oracle Community by 843810, 1 year ago
Cannot assign requested address: connect
via Apache Bugzilla by ankur_goel, 1 year ago
Cannot assign requested address: connect
via Coderanch by Baba Bizlowsky, 11 months ago
Cannot assign requested address: connect
via hc-dev by Kalnichevski, Oleg, 1 year ago
java.net.BindException: Address in use: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:355)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:142)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:129)
at java.net.Socket.(Socket.java:273)
at java.net.Socket.(Socket.java:100)
at org.postgresql.PG_Stream.(Unknown Source)
at org.postgresql.Connection.openConnection(Unknown Source)
at org.postgresql.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.connect(ConnectionImpl.java:126)
at com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.(ConnectionImpl.java:46)
at com.solarmetric.kodo.impl.jdbc.datasource.DataSourceImpl.getConnection(DataSourceImpl.java:156)
at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.begin(JDBCStoreManager.java:73)
at com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:543)
at com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:393)
at com.factor3.aml.util.OFAC.generateOrganization(OFAC.java:665)
at com.factor3.aml.util.OFAC.interpretSDN(OFAC.java:221)
at com.factor3.aml.util.OFAC.parseSDN(OFAC.java:65)
at com.factor3.aml.util.OFAC.main(OFAC.java:951)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.