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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert 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.

,
Expert tip

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

Solutions on the web

via GitHub by Vshuds
, 1 year ago
Failed to bind to: 0.0.0.0/0.0.0.0:5002
via GitHub by cascajo
, 1 year ago
Failed to bind to: 0.0.0.0/0.0.0.0:5004
via GitHub by Vshuds
, 1 year ago
Failed to bind to: 0.0.0.0/0.0.0.0:5003
via GitHub by sdip025
, 1 year ago
Failed to bind to: 0.0.0.0/0.0.0.0:5004
via GitHub by Cashe18
, 1 year ago
Failed to bind to: 0.0.0.0/0.0.0.0:5084
via GitHub by Vshuds
, 1 year ago
Failed to bind to: 0.0.0.0/0.0.0.0:5003
org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:5002
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 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)
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.Thread.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Once, 18 hours ago
64 times, 3 days ago
Once, 3 days ago
8 times, 4 days ago
163 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.