java.net.BindException: Cannot assign requested address: 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 mobac by rfraikin
, 1 year ago
Cannot assign requested address: connect
via microsoft.com by Unknown author, 2 years ago
Cannot assign requested address: connect
via Stack Overflow by Gonthar
, 11 months ago
Address already in use: connect
via openstreetmap.org by Unknown author, 1 year ago
Cannot assign requested address: connect
via GitHub by Ozymandy
, 9 months ago
Cannot assign requested address: connect
java.net.BindException: Cannot assign requested address: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at mobac.program.download.TileDownLoader.downloadTileAndUpdateStore(TileDownLoader.java:156)
at mobac.program.download.TileDownLoader.downloadTileAndUpdateStore(TileDownLoader.java:135)
at mobac.program.download.TileDownLoader.getImage(TileDownLoader.java:93)
at mobac.mapsources.AbstractHttpMapSource.getTileData(AbstractHttpMapSource.java:136)
at mobac.mapsources.AbstractHttpMapSource.getTileImage(AbstractHttpMapSource.java:142)
at mobac.gui.mapview.TileLoader$TileAsyncLoadJob.loadOrUpdateTile(TileLoader.java:101)
at mobac.gui.mapview.TileLoader$TileAsyncLoadJob.run(TileLoader.java:95)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

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

Write tip

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