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

river-user | Gregg Wonderly | 5 years 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

    Re: Problem starting the reggie service

    river-user | 5 years ago | Girbea Alina
    java.net.BindException: Address already in use: Cannot bind
  2. 0

    Re: Problem starting the reggie service

    river-user | 5 years ago | Gregg Wonderly
    java.net.BindException: Address already in use: Cannot bind
  3. 0

    Problem running a jini service

    river-user | 5 years ago | Girbea Alina
    java.net.BindException: Address already in use: Cannot bind
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Problem starting the reggie service

    incubator-river-user | 5 years ago | Girbea Alina
    java.net.BindException: Address already in use: Cannot bind
  6. 0

    Re: Problem starting the reggie service

    incubator-river-user | 5 years ago | Gregg Wonderly
    java.net.BindException: Address already in use: Cannot bind

    2 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.BindException

      Address already in use: Cannot bind

      at java.net.PlainDatagramSocketImpl.bind0()
    2. Java RT
      MulticastSocket.<init>
      1. java.net.PlainDatagramSocketImpl.bind0(Native Method)
      2. java.net.PlainDatagramSocketImpl.bind(Unknown Source)
      3. java.net.DatagramSocket.bind(Unknown Source)
      4. java.net.MulticastSocket.<init>(Unknown Source)
      5. java.net.MulticastSocket.<init>(Unknown Source)
      5 frames
    3. Jini Ext
      LookupDiscovery$7.run
      1. net.jini.discovery.LookupDiscovery$AnnouncementListener.<init>(LookupDiscovery.java:1030)
      2. net.jini.discovery.LookupDiscovery$7.run(LookupDiscovery.java:3091)
      2 frames
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. Jini Ext
      Security$5.run
      1. net.jini.security.Security$5.run(Security.java:543)
      1 frame
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    7. Jini Ext
      LookupDiscoveryManager.<init>
      1. net.jini.security.Security.doPrivileged(Security.java:540)
      2. net.jini.discovery.LookupDiscovery.beginDiscovery(LookupDiscovery.java:3089)
      3. net.jini.discovery.LookupDiscovery.<init>(LookupDiscovery.java:1946)
      4. net.jini.discovery.LookupDiscoveryManager.beginDiscovery(LookupDiscoveryManager.java:1549)
      5. net.jini.discovery.LookupDiscoveryManager.<init>(LookupDiscoveryManager.java:902)
      5 frames
    8. starter
      ServiceDescription.main
      1. starter.ServiceDescription.advertiseService(ServiceDescription.java:160)
      2. starter.ServiceDescription.<init>(ServiceDescription.java:76)
      3. starter.ServiceDescription.main(ServiceDescription.java:36)
      3 frames