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

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

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

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

Solutions on the web

via Stack Overflow by Wojtek Erbetowski
, 2 years ago
via Stack Overflow by user3632180
, 2 years ago
via GitHub by tr31z
, 1 year ago
Failed to bind to: graylog-server2/*.*.*.*:12900
via Stack Overflow by Afshin
, 1 year ago
Failed to bind to: /192.168.2.105:48594
org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:20099
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:437)
at sun.nio.ch.Net.bind(Net.java:429)
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:391)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

4 times, 1 month ago
3 times, 1 year ago
Once, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
163 more bugmates

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