org.jboss.netty.channel.ChannelException: Failed to bind to: /<nginx server IP>:2202

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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.


rafael
tip

Try changing the port in core-site.xml from 9000 to 9001 as it seems port 9000 doesn't work.

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.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Streaming a webcam to a nginx server from Java
    via Stack Overflow by SYNCRo
    ,
  • Re: [akka-user] [Akka remote] - Grokbase
    via by Unknown author,
  • Can&#39;t run Spark 1.2 in standalone mode on Mac
    via by Unknown author,
    • org.jboss.netty.channel.ChannelException: Failed to bind to: /<nginx server IP>:2202 at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:301) at us.sosia.video.stream.agent.StreamServerAgent.start(StreamServerAgent.java:70) at svchost.WebcamStreamToServer.run(WebcamStreamToServer.java:55) Caused by: java.net.BindException: Cannot assign requested address: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:437) at sun.nio.ch.Net.bind(Net.java:429) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193) at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:367) at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:291) at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Handemelindo
    Handemelindo57 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    136 more bugmates