java.net.BindException

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

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

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

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

  • GitHub comment 16405#115663850
    via GitHub by ktoso
    ,
  • GitHub comment 82#258949134
    via GitHub by anataliocs
    ,
  • Can't initialize Jenkins
    via by Miguel Alver,
  • MongoDB using Spark Java
    via Stack Overflow by user6238728
    ,
    • java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at akka.io.TcpListener.liftedTree1$1(TcpListener.scala:56) at akka.io.TcpListener.<init>(TcpListener.scala:53) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at akka.util.Reflect$.instantiate(Reflect.scala:65) at akka.actor.ArgsReflectConstructor.produce(IndirectActorProducer.scala:96) at akka.actor.Props.newActor(Props.scala:213) at akka.actor.ActorCell.newActor(ActorCell.scala:562) at akka.actor.ActorCell.create(ActorCell.scala:588) at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:461) at akka.actor.ActorCell.systemInvoke(ActorCell.scala:483) at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:282) at akka.dispatch.Mailbox.run(Mailbox.scala:223) at akka.dispatch.Mailbox.exec(Mailbox.scala:234) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

    Users with the same issue

    kid
    2 times, last one,
    melezov
    3 times, last one,
    Unknown User
    10 times, last one,
    Axelo
    31 times, last one,
    Handemelindo
    1 times, last one,
    136 more bugmates