lang.RuntimeException: channel "aeron:udp?endpoint=second-machine:40123" : java.net.BindException: Cannot assign requested address

GitHub | MizukiSonoko | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 258#232005220

    GitHub | 7 months ago | MizukiSonoko
    lang.RuntimeException: channel "aeron:udp?endpoint=second-machine:40123" : java.net.BindException: Cannot assign requested address
  2. 0

    java tests fail

    GitHub | 2 years ago | btorpey
    java.net.BindException: Address already in use
  3. 0

    GitHub comment 49#69828880

    GitHub | 2 years ago | btorpey
    java.net.BindException: Address already in use
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 49#69829994

    GitHub | 2 years ago | btorpey
    java.net.BindException: Address already in use
  6. 0

    GitHub comment 28#63854069

    GitHub | 2 years ago | btorpey
    java.net.BindException: Address already in use

    Root Cause Analysis

    1. java.net.BindException

      Cannot assign requested address

      at sun.nio.ch.Net.bind0()
    2. Java RT
      DatagramChannelImpl.bind
      1. sun.nio.ch.Net.bind0(Native Method)
      2. sun.nio.ch.Net.bind(Net.java:433)
      3. sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:691)
      3 frames
    3. io.aeron.driver
      Receiver.accept
      1. io.aeron.driver.media.UdpChannelTransport.openDatagramChannel(UdpChannelTransport.java:103)
      2. io.aeron.driver.media.ReceiveChannelEndpoint.openChannel(ReceiveChannelEndpoint.java:127)
      3. io.aeron.driver.Receiver.onRegisterReceiveChannelEndpoint(Receiver.java:115)
      4. io.aeron.driver.cmd.RegisterReceiveChannelEndpointCmd.execute(RegisterReceiveChannelEndpointCmd.java:32)
      5. io.aeron.driver.Receiver.accept(Receiver.java:134)
      6. io.aeron.driver.Receiver.accept(Receiver.java:36)
      6 frames
    4. org.agrona.concurrent
      OneToOneConcurrentArrayQueue.drain
      1. org.agrona.concurrent.OneToOneConcurrentArrayQueue.drain(OneToOneConcurrentArrayQueue.java:106)
      1 frame
    5. io.aeron.driver
      Receiver.doWork
      1. io.aeron.driver.Receiver.doWork(Receiver.java:64)
      1 frame
    6. org.agrona.concurrent
      AgentRunner.run
      1. org.agrona.concurrent.AgentRunner.run(AgentRunner.java:106)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame