java.net.BindException: Cannot assign requested address: Cannot bind

JIRA | Francisco Vives | 10 years ago
  1. 0

    I got these 2 errors related with jingle. 1- Jingle Initialization error Initialized java.net.BindException: Cannot assign requested address: Cannot bind at java.net.PlainDatagramSocketImpl.bind0(Native Method) at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82 ) at java.net.DatagramSocket.bind(DatagramSocket.java:368) at java.net.DatagramSocket.<init>(DatagramSocket.java:210) at java.net.DatagramSocket.<init>(DatagramSocket.java:261) at de.javawi.jstun.test.demo.ice.Candidate.<init>(Candidate.java:53) at de.javawi.jstun.test.demo.ice.ICENegociator.gatherCandidateAddresses( ICENegociator.java:67) at org.jivesoftware.smackx.jingle.nat.ICEResolver.initialize(ICEResolver .java:67) at org.jivesoftware.smackx.jingle.nat.TransportResolver.initializeAndWai t(TransportResolver.java:384) at org.jivesoftware.smackx.jingle.nat.ICETransportManager.<init>(ICETran sportManager.java:36) at org.jivesoftware.sparkplugin.JinglePlugin$1.construct(JinglePlugin.ja va:98) at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129) at java.lang.Thread.run(Thread.java:619) 1 Initializing...Resolved ---- 2- Jingle Error trying to establish a communication java.lang.Error: Error opening DSound for capture javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.Error : Error opening DSound for capture at javax.media.Manager.createDataSource(Manager.java:1017) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createProcessor(AudioChannel.java:176) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:117) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92) at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1090) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Active.eventEnter(OutgoingJingleSession.java:438) at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137) at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:327) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Pending.eventAck(OutgoingJingleSession.java:379) at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:415) at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:484) at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:912) at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819)

    Jive Software Open Source | 10 years ago | Francisco Vives
    java.net.BindException: Cannot assign requested address: Cannot bind
  2. 0

    I got these 2 errors related with jingle. 1- Jingle Initialization error Initialized java.net.BindException: Cannot assign requested address: Cannot bind at java.net.PlainDatagramSocketImpl.bind0(Native Method) at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82 ) at java.net.DatagramSocket.bind(DatagramSocket.java:368) at java.net.DatagramSocket.<init>(DatagramSocket.java:210) at java.net.DatagramSocket.<init>(DatagramSocket.java:261) at de.javawi.jstun.test.demo.ice.Candidate.<init>(Candidate.java:53) at de.javawi.jstun.test.demo.ice.ICENegociator.gatherCandidateAddresses( ICENegociator.java:67) at org.jivesoftware.smackx.jingle.nat.ICEResolver.initialize(ICEResolver .java:67) at org.jivesoftware.smackx.jingle.nat.TransportResolver.initializeAndWai t(TransportResolver.java:384) at org.jivesoftware.smackx.jingle.nat.ICETransportManager.<init>(ICETran sportManager.java:36) at org.jivesoftware.sparkplugin.JinglePlugin$1.construct(JinglePlugin.ja va:98) at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129) at java.lang.Thread.run(Thread.java:619) 1 Initializing...Resolved ---- 2- Jingle Error trying to establish a communication java.lang.Error: Error opening DSound for capture javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.Error : Error opening DSound for capture at javax.media.Manager.createDataSource(Manager.java:1017) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createProcessor(AudioChannel.java:176) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:117) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92) at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1090) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Active.eventEnter(OutgoingJingleSession.java:438) at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137) at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:327) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Pending.eventAck(OutgoingJingleSession.java:379) at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:415) at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:484) at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:912) at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819)

    JIRA | 10 years ago | Francisco Vives
    java.net.BindException: Cannot assign requested address: Cannot bind
  3. 0

    I got these 2 errors related with jingle. 1- Jingle Initialization error Initialized java.net.BindException: Cannot assign requested address: Cannot bind at java.net.PlainDatagramSocketImpl.bind0(Native Method) at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82 ) at java.net.DatagramSocket.bind(DatagramSocket.java:368) at java.net.DatagramSocket.<init>(DatagramSocket.java:210) at java.net.DatagramSocket.<init>(DatagramSocket.java:261) at de.javawi.jstun.test.demo.ice.Candidate.<init>(Candidate.java:53) at de.javawi.jstun.test.demo.ice.ICENegociator.gatherCandidateAddresses( ICENegociator.java:67) at org.jivesoftware.smackx.jingle.nat.ICEResolver.initialize(ICEResolver .java:67) at org.jivesoftware.smackx.jingle.nat.TransportResolver.initializeAndWai t(TransportResolver.java:384) at org.jivesoftware.smackx.jingle.nat.ICETransportManager.<init>(ICETran sportManager.java:36) at org.jivesoftware.sparkplugin.JinglePlugin$1.construct(JinglePlugin.ja va:98) at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129) at java.lang.Thread.run(Thread.java:619) 1 Initializing...Resolved ---- 2- Jingle Error trying to establish a communication java.lang.Error: Error opening DSound for capture javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.Error : Error opening DSound for capture at javax.media.Manager.createDataSource(Manager.java:1017) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createProcessor(AudioChannel.java:176) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:117) at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92) at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1090) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Active.eventEnter(OutgoingJingleSession.java:438) at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137) at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:327) at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Pending.eventAck(OutgoingJingleSession.java:379) at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:415) at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:484) at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:912) at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819)

    Jive Software Open Source | 10 years ago | Francisco Vives
    java.net.BindException: Cannot assign requested address: Cannot bind
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JVM Bind Error

    Google Groups | 5 years ago | Lelo
    java.net.BindException: Cannot assign requested address: Cannot bind
  6. 0

    UDP Server/Client Socket bind exception

    Oracle Community | 10 years ago | 843790
    java.net.BindException: Cannot assign requested address: Cannot 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

    Cannot assign requested address: Cannot bind

    at java.net.PlainDatagramSocketImpl.bind0()
  2. Java RT
    DatagramSocket.<init>
    1. java.net.PlainDatagramSocketImpl.bind0(Native Method)
    2. java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
    3. java.net.DatagramSocket.bind(DatagramSocket.java:368)
    4. java.net.DatagramSocket.<init>(DatagramSocket.java:210)
    5. java.net.DatagramSocket.<init>(DatagramSocket.java:261)
    5 frames
  3. de.javawi.jstun
    ICENegociator.gatherCandidateAddresses
    1. de.javawi.jstun.test.demo.ice.Candidate.<init>(Candidate.java:53)
    2. de.javawi.jstun.test.demo.ice.ICENegociator.gatherCandidateAddresses(ICENegociator.java:67)
    2 frames
  4. org.jivesoftware.smackx
    ICETransportManager.<init>
    1. org.jivesoftware.smackx.jingle.nat.ICEResolver.initialize(ICEResolver.java:67)
    2. org.jivesoftware.smackx.jingle.nat.TransportResolver.initializeAndWait(TransportResolver.java:384)
    3. org.jivesoftware.smackx.jingle.nat.ICETransportManager.<init>(ICETransportManager.java:36)
    3 frames
  5. org.jivesoftware.sparkplugin
    JinglePlugin$1.construct
    1. org.jivesoftware.sparkplugin.JinglePlugin$1.construct(JinglePlugin.java:98)
    1 frame
  6. org.jivesoftware.spark
    SwingWorker$2.run
    1. org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame