Error "Throwing"

Blasty

New Member
Each time I try to launch my nukkit server (that I plan on moving me and my friends smp to from vanilla) it shows this error after recipies are loaded.
IMPORTANT: I "NukkitX" is what i changed the name of the jar file to.


18:25:32 [ERROR] Throwing
java.util.concurrent.CompletionException: java.net.BindException: Cannot assign requested address: bind
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331) ~[?:?]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346) ~[?:?]
at java.util.concurrent.CompletableFuture$BiRelay.tryFire(CompletableFuture.java:1494) ~[?:?]
at java.util.concurrent.CompletableFuture$CoCompletion.tryFire(CompletableFuture.java:1215) ~[?:?]
at java.util.concurrent.CompletableFuture.unipush(CompletableFuture.java:589) ~[?:?]
at java.util.concurrent.CompletableFuture.bipush(CompletableFuture.java:1237) ~[?:?]
at java.util.concurrent.CompletableFuture.andTree(CompletableFuture.java:1518) ~[?:?]
at java.util.concurrent.CompletableFuture.allOf(CompletableFuture.java:2409) ~[?:?]
at com.nukkitx.network.util.Bootstraps.allOf(Bootstraps.java:118) ~[NukkitX.jar:?]
at com.nukkitx.network.raknet.RakNetServer.bindInternal(RakNetServer.java:64) ~[NukkitX.jar:?]
at com.nukkitx.network.raknet.RakNet.bind(RakNet.java:48) ~[NukkitX.jar:?]
at cn.nukkit.network.RakNetInterface.<init>(RakNetInterface.java:74) ~[NukkitX.jar:?]
at cn.nukkit.Server.<init>(Server.java:496) ~[NukkitX.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:120) [NukkitX.jar:?]
Caused by: java.net.BindException: Cannot assign requested address: bind
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:550) ~[?:?]
at sun.nio.ch.DatagramChannelImpl.bindInternal(DatagramChannelImpl.java:1189) ~[?:?]
at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:1160) ~[?:?]
at io.netty.util.internal.SocketUtils$6.run(SocketUtils.java:125) ~[NukkitX.jar:?]
at io.netty.util.internal.SocketUtils$6.run(SocketUtils.java:122) ~[NukkitX.jar:?]
at java.security.AccessController.doPrivileged(AccessController.java:554) ~[?:?]
at io.netty.util.internal.SocketUtils.bind(SocketUtils.java:122) ~[NukkitX.jar:?]
at io.netty.channel.socket.nio.NioDatagramChannel.doBind0(NioDatagramChannel.java:199) ~[NukkitX.jar:?]
at io.netty.channel.socket.nio.NioDatagramChannel.doBind(NioDatagramChannel.java:194) ~[NukkitX.jar:?]
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:551) ~[NukkitX.jar:?]
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1346) ~[NukkitX.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:503) ~[NukkitX.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:488) ~[NukkitX.jar:?]
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:985) ~[NukkitX.jar:?]
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:247) ~[NukkitX.jar:?]
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:344) ~[NukkitX.jar:?]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[NukkitX.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510) ~[NukkitX.jar:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518) ~[NukkitX.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1050) ~[NukkitX.jar:?]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[NukkitX.jar:?]
at java.lang.Thread.run(Thread.java:832) ~[?:?]
18:25:32 [INFO ] Stopping other threads
>
Press any key to continue . . .

Reply if you have a fix for this please. I hope to do this before 1.17 release
 

PetteriM1

Supporter
Each time I try to launch my nukkit server (that I plan on moving me and my friends smp to from vanilla) it shows this error after recipies are loaded.
IMPORTANT: I "NukkitX" is what i changed the name of the jar file to.


18:25:32 [ERROR] Throwing
java.util.concurrent.CompletionException: java.net.BindException: Cannot assign requested address: bind
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331) ~[?:?]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346) ~[?:?]
at java.util.concurrent.CompletableFuture$BiRelay.tryFire(CompletableFuture.java:1494) ~[?:?]
at java.util.concurrent.CompletableFuture$CoCompletion.tryFire(CompletableFuture.java:1215) ~[?:?]
at java.util.concurrent.CompletableFuture.unipush(CompletableFuture.java:589) ~[?:?]
at java.util.concurrent.CompletableFuture.bipush(CompletableFuture.java:1237) ~[?:?]
at java.util.concurrent.CompletableFuture.andTree(CompletableFuture.java:1518) ~[?:?]
at java.util.concurrent.CompletableFuture.allOf(CompletableFuture.java:2409) ~[?:?]
at com.nukkitx.network.util.Bootstraps.allOf(Bootstraps.java:118) ~[NukkitX.jar:?]
at com.nukkitx.network.raknet.RakNetServer.bindInternal(RakNetServer.java:64) ~[NukkitX.jar:?]
at com.nukkitx.network.raknet.RakNet.bind(RakNet.java:48) ~[NukkitX.jar:?]
at cn.nukkit.network.RakNetInterface.<init>(RakNetInterface.java:74) ~[NukkitX.jar:?]
at cn.nukkit.Server.<init>(Server.java:496) ~[NukkitX.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:120) [NukkitX.jar:?]
Caused by: java.net.BindException: Cannot assign requested address: bind
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:550) ~[?:?]
at sun.nio.ch.DatagramChannelImpl.bindInternal(DatagramChannelImpl.java:1189) ~[?:?]
at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:1160) ~[?:?]
at io.netty.util.internal.SocketUtils$6.run(SocketUtils.java:125) ~[NukkitX.jar:?]
at io.netty.util.internal.SocketUtils$6.run(SocketUtils.java:122) ~[NukkitX.jar:?]
at java.security.AccessController.doPrivileged(AccessController.java:554) ~[?:?]
at io.netty.util.internal.SocketUtils.bind(SocketUtils.java:122) ~[NukkitX.jar:?]
at io.netty.channel.socket.nio.NioDatagramChannel.doBind0(NioDatagramChannel.java:199) ~[NukkitX.jar:?]
at io.netty.channel.socket.nio.NioDatagramChannel.doBind(NioDatagramChannel.java:194) ~[NukkitX.jar:?]
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:551) ~[NukkitX.jar:?]
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1346) ~[NukkitX.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:503) ~[NukkitX.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:488) ~[NukkitX.jar:?]
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:985) ~[NukkitX.jar:?]
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:247) ~[NukkitX.jar:?]
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:344) ~[NukkitX.jar:?]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[NukkitX.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510) ~[NukkitX.jar:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518) ~[NukkitX.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1050) ~[NukkitX.jar:?]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[NukkitX.jar:?]
at java.lang.Thread.run(Thread.java:832) ~[?:?]
18:25:32 [INFO ] Stopping other threads
>
Press any key to continue . . .

Reply if you have a fix for this please. I hope to do this before 1.17 release
Did you change the ip in server.properties? If you did put it back to 0.0.0.0. Also check that there's no other servers running on the same ip/port.
 
Top