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

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.

  • GitHub comment 2320#247345257
    via GitHub by Vshuds
    ,
  • GitHub comment 2320#247574592
    via GitHub by Vshuds
    ,
  • GitHub comment 2320#247605150
    via GitHub by Vshuds
    ,
  • GitHub comment 2469#255365052
    via GitHub by sdip025
    ,
  • GitHub comment 1557#160064124
    via GitHub by cascajo
    ,
  • GitHub comment 2265#243012367
    via GitHub by Cashe18
    ,
  • Couldn't start riemann.bin?
    via by Siddharth Trikha,
  • Couldn't start riemann.bin?
    via Stack Overflow by Siddharth Trikha
    ,
  • Starting the server getting the exception
    via by Pavan Singh,
  • Partial Success
    via GitHub by ivank2139
    ,
    • org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:5002 at org.jboss.netty.bootstrap.ConnectionlessBootstrap.bind(ConnectionlessBootstrap.java:204) at org.traccar.TrackerServer.start(TrackerServer.java:138) at org.traccar.ServerManager.start(ServerManager.java:73) at org.traccar.Main.main(Main.java:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325) at java.lang.Thread.run(Unknown Source) Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.DatagramChannelImpl.bind(Unknown Source) at sun.nio.ch.DatagramSocketAdaptor.bind(Unknown Source) at org.jboss.netty.channel.socket.nio.NioDatagramPipelineSink.bind(NioDatagramPipelineSink.java:129) at org.jboss.netty.channel.socket.nio.NioDatagramPipelineSink.eventSunk(NioDatagramPipelineSink.java:77) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779) at org.jboss.netty.channel.SimpleChannelHandler.bindRequested(SimpleChannelHandler.java:299) at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:265) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:784) at org.jboss.netty.handler.logging.LoggingHandler.handleDownstream(LoggingHandler.java:338) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:784) at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:54) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:784) at org.jboss.netty.channel.SimpleChannelHandler.bindRequested(SimpleChannelHandler.java:299) at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:265) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591) at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582) at org.jboss.netty.channel.Channels.bind(Channels.java:561) at org.jboss.netty.channel.AbstractChannel.bind(AbstractChannel.java:197) at org.jboss.netty.bootstrap.ConnectionlessBootstrap.bind(ConnectionlessBootstrap.java:198) ... 9 more

    Users with the same issue

    Unknown visitor2 times, last one,
    bandoca
    bandoca122 times, last one,
    slash
    slash5 times, last one,
    rocday
    rocday1 times, last one,
    batwalrus76
    batwalrus761 times, last one,
    136 more bugmates