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

tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    It might be that there's another process connecting to the same port you're trying to use, try to kill it or change the connection port.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
    samebug tip
    Change the connection port and ip adress. If you're trying to connect to your server from your own computer, check if you haven't already connected to the server in another instance.
  4. 0

    New stratum/getwork proxy with Web-based GUI and pools management

    bitcointalk.org | 2 years ago
    rs.ProcessingException: Failed to start Grizzly HTTP server: Address already in use: bind
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.BindException

    Address already in use: bind

    at sun.nio.ch.Net.bind0()
  2. Java RT
    ServerSocketAdaptor.bind
    1. sun.nio.ch.Net.bind0(Native Method)
    2. sun.nio.ch.Net.bind(Unknown Source)
    3. sun.nio.ch.Net.bind(Unknown Source)
    4. sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
    5. sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
    5 frames
  3. com.aelitis.azureus
    AzureusCoreFactory.create
    1. com.aelitis.azureus.core.networkmanager.impl.tcp.VirtualBlockingServerChannelSelector.start(VirtualBlockingServerChannelSelector.java:77)
    2. com.aelitis.azureus.core.networkmanager.impl.tcp.IncomingSocketChannelManager.start(IncomingSocketChannelManager.java:420)
    3. com.aelitis.azureus.core.networkmanager.impl.tcp.IncomingSocketChannelManager.<init>(IncomingSocketChannelManager.java:152)
    4. com.aelitis.azureus.core.networkmanager.impl.tcp.TCPNetworkManager.<init>(TCPNetworkManager.java:125)
    5. com.aelitis.azureus.core.networkmanager.impl.tcp.TCPNetworkManager.<clinit>(TCPNetworkManager.java:48)
    6. com.aelitis.azureus.core.networkmanager.NetworkManager.getMinMssSize(NetworkManager.java:267)
    7. com.aelitis.azureus.core.networkmanager.impl.ByteBucketST.ensureByteBucketMinBurstRate(ByteBucketST.java:168)
    8. com.aelitis.azureus.core.networkmanager.impl.ByteBucketST.<init>(ByteBucketST.java:59)
    9. com.aelitis.azureus.core.networkmanager.impl.ByteBucketST.<init>(ByteBucketST.java:45)
    10. com.aelitis.azureus.core.networkmanager.impl.TransferProcessor.createBucket(TransferProcessor.java:556)
    11. com.aelitis.azureus.core.networkmanager.impl.TransferProcessor.<init>(TransferProcessor.java:75)
    12. com.aelitis.azureus.core.networkmanager.NetworkManager.<init>(NetworkManager.java:161)
    13. com.aelitis.azureus.core.networkmanager.NetworkManager.<clinit>(NetworkManager.java:53)
    14. com.aelitis.azureus.core.impl.AzureusCoreImpl.<init>(AzureusCoreImpl.java:289)
    15. com.aelitis.azureus.core.impl.AzureusCoreImpl.create(AzureusCoreImpl.java:145)
    16. com.aelitis.azureus.core.AzureusCoreFactory.create(AzureusCoreFactory.java:43)
    16 frames
  4. org.gudy.azureus2
    Main.main
    1. org.gudy.azureus2.ui.swt.Main.<init>(Main.java:107)
    2. org.gudy.azureus2.ui.swt.Main.main(Main.java:328)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  6. com.aelitis.azureus
    MainExecutor$1.run
    1. com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:34)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame