Address already in use: bind

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

Samebug tips


Its saying that a Java application is trying to connect on port but that port is already being used by some other process and JVM Bind to that particular port is failed.

via Stack Overflow by Coffee

Check which program is running on the given port.

Windows: netstat -a -b -n (Use Resource Monitor if you are admin) Linux: lsof -i:<port>

Kill the process.

Windows taskkill -pid <process-id> /f Linux kill -9 <process-id>

Solutions on the web

via by Unknown author, 8 months ago
via by Unknown author, 1 year ago
via Stack Overflow by Nikunj Tolambe
, 7 months ago
via felix-users by Antonio Sanso, 1 year ago
Address already in use
via by Unknown author, 2 years ago
Address already in use Address already in use: bind
at Method)
at Source)
at Source)
at Source)
at com.aelitis.azureus.core.networkmanager.impl.tcp.VirtualBlockingServerChannelSelector.start(
at com.aelitis.azureus.core.networkmanager.impl.tcp.IncomingSocketChannelManager.start(
at com.aelitis.azureus.core.networkmanager.impl.tcp.IncomingSocketChannelManager.(
at com.aelitis.azureus.core.networkmanager.impl.tcp.TCPNetworkManager.(
at com.aelitis.azureus.core.networkmanager.impl.tcp.TCPNetworkManager.(
at com.aelitis.azureus.core.networkmanager.NetworkManager.getMinMssSize(
at com.aelitis.azureus.core.networkmanager.impl.ByteBucketST.ensureByteBucketMinBurstRate(
at com.aelitis.azureus.core.networkmanager.impl.ByteBucketST.(
at com.aelitis.azureus.core.networkmanager.impl.ByteBucketST.(
at com.aelitis.azureus.core.networkmanager.impl.TransferProcessor.createBucket(
at com.aelitis.azureus.core.networkmanager.impl.TransferProcessor.(
at com.aelitis.azureus.core.networkmanager.NetworkManager.(
at com.aelitis.azureus.core.networkmanager.NetworkManager.(
at com.aelitis.azureus.core.impl.AzureusCoreImpl.(
at com.aelitis.azureus.core.impl.AzureusCoreImpl.create(
at com.aelitis.azureus.core.AzureusCoreFactory.create(
at org.gudy.azureus2.ui.swt.Main.(
at org.gudy.azureus2.ui.swt.Main.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at com.aelitis.azureus.launcher.MainExecutor$
at Source)

Users with the same issue

21 times, 4 days ago
9 times, 5 days ago
Once, 5 days ago
66 times, 1 week ago
Once, 1 week ago

Write tip

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