title: Play Framework - JBoss Channel Exception
body: <p>I'm starting with Play Framework and when I'm sending the following commands, it throws a exception.</p>
  
  <pre><code># play
  </code></pre>
  
  <p>In Play Console:</p>
  
  <pre><code>[play-java] $ run
  </code></pre>
  
  <p>It throws:</p>
  
  <pre><code>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$10.apply(NettyServer.scala:171)
  at play.core.server.NettyServer$$anonfun$10.apply(NettyServer.scala:168)
  at scala.Option.map(Option.scala:145)
  at play.core.server.NettyServer.&lt;init&gt;(NettyServer.scala:168)
  at play.core.server.NettyServer$$anonfun$mainDev$1.apply(NettyServer.scala:347)
  at play.core.server.NettyServer$$anonfun$mainDev$1.apply(NettyServer.scala:345)
  at play.utils.Threads$.withContextClassLoader(Threads.scala:18)
  at play.core.server.NettyServer$.mainDev(NettyServer.scala:344)
  at play.core.server.NettyServer$.mainDevHttpMode(NettyServer.scala:340)
  at play.core.server.NettyServer.mainDevHttpMode(NettyServer.scala)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at play.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$1.apply(PlayRun.scala:233)
  at play.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$1.apply(PlayRun.scala:91)
  at scala.Function7$$anonfun$tupled$1.apply(Function7.scala:35)
  at scala.Function7$$anonfun$tupled$1.apply(Function7.scala:34)
  at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
  
  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:463)
  at sun.nio.ch.Net.bind(Net.java:455)
  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:366)
  at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:290)
  at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:745)
  </code></pre>
  
  <p>I'm trying using my local user, root user, changing ports (ie: <code>run 8080</code>), <code>start</code> instead of <code>run</code>, and it always throw the same exception.</p>
  
  <p>By the way, port 9000 is not in use by another application.</p>
  
  <p>Anyone has any clue?</p>
  
  <p>I'm using Ubuntu 12.04 LTS, and Play Framework 2.2.6.</p>
  
  <p>Thanks.</p>