java.net.BindException

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

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.

  • Timed out waiting for a reply
    via by Евгений Мартын,
  • Apache Spark User List - Installing Spark on Mac
    via by Unknown author,
  • Hello I Need help!
    via GitHub by teamxcraft
    ,
  • Bungee Cannot Start up.Help!
    via GitHub by bt1996
    ,
  • BungeeCord Crashing?
    via GitHub by Darkdestroyerjn
    ,
  • Could not bind port
    via GitHub by Zere
    ,
    • java.net.BindException: Невозможно назначить запрошенный адрес ( Cannot assign requested address) 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 io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:125) at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:485) at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1089) at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:440) at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:425) at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:903) at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:198) at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:348) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

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