org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:9000

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

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
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

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

  • Installation problems
    via GitHub by fmrosa
    ,
  • GitHub comment 14573#158134081
    via GitHub by ppf2
    ,
  • play 2.4.6 + akka cluster fails with sbt run
    via by Unknown author,
  • GitHub comment 175#289996325
    via GitHub by wifiz
    ,
    • org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:9000 at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272) at play.core.server.NettyServer$$anonfun$8.apply(NettyServer.scala:129) at play.core.server.NettyServer$$anonfun$8.apply(NettyServer.scala:126) at scala.Option.map(Option.scala:145) at play.core.server.NettyServer.<init>(NettyServer.scala:126) at play.core.server.NettyServer$.createServer(NettyServer.scala:243) at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:280) at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:275) at scala.Option.map(Option.scala:145) at play.core.server.NettyServer$.main(NettyServer.scala:275) at play.core.server.NettyServer.main(NettyServer.scala) Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:174) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:139) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77) at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193) at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:372) at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:296) at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42) at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701)

    Users with the same issue

    balintn
    balintn2 times, last one,
    poroszd
    poroszd3 times, last one,
    rafalg
    rafalg1 times, last one,
    regisso
    regisso4 times, last one,
    zokni
    zokni1 times, last one,
    136 more bugmates