I'm encountering issues on my Minecraft Java 1.16.3 server.
I'm encountering issues on my Minecraft Java 1.16.3 server.
So im making a private server for few people. I was doing all right until the server didnt want to open. It would open for a second and then it closed. This is the whole log of the server [16:27:00] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD' [16:27:00] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498] [16:27:01] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [16:27:01] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0] [16:27:01] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498] [16:27:01] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [16:27:01] [main/INFO]: Reloading ResourceManager: Default [16:27:01] [Worker-Main-5/INFO]: Loaded 7 recipes [16:27:02] [Worker-Main-5/INFO]: Loaded 927 advancements [16:27:04] [Server thread/INFO]: Starting minecraft server version 1.16.3 [16:27:04] [Server thread/INFO]: Loading properties [16:27:04] [Server thread/INFO]: Default game type: SURVIVAL [16:27:04] [Server thread/INFO]: Generating keypair [16:27:04] [Server console handler/ERROR]: Exception handling console input java.io.IOException: The handle is invalid at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_261] at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_261] at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_261] at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_261] at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_261] at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_261] at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_261] at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_261] at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_261] at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_261] at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_261] at zg$1.run(SourceFile:89) [server.jar:?] [16:27:04] [Server thread/INFO]: Starting Minecraft server on www.otherreact.ga:25565 [16:27:04] [Server thread/INFO]: Using default channel type [16:27:06] [Server thread/WARN]: **** FAILED TO BIND TO PORT! [16:27:06] [Server thread/WARN]: The exception was: java.net.BindException: Cannot assign requested address: bind [16:27:06] [Server thread/WARN]: Perhaps a server is already running on that port? [16:27:06] [Server thread/INFO]: Stopping server [16:27:06] [Server thread/INFO]: Saving worlds [16:27:06] [Server thread/ERROR]: Exception stopping the server java.lang.NullPointerException: null at net.minecraft.server.MinecraftServer.a(SourceFile:569) ~[server.jar:?] at net.minecraft.server.MinecraftServer.t(SourceFile:596) ~[server.jar:?] at zg.t(SourceFile:558) ~[server.jar:?] at net.minecraft.server.MinecraftServer.w(SourceFile:704) ~[server.jar:?] at net.minecraft.server.MinecraftServer.a(SourceFile:254) ~[server.jar:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_261] If you want to help me, contact me on Discord: MateoThePro#4422
It seems a process is already assigned to port 25565. Only one Minceraft instance may operate on that port at once. For additional servers, use ports 25566 or 25567.
From the log, it seems they included a URL and port in that area, likely tied to a local IP rather than a public address. Based on the user's last statement, they suspect the connection might not work and they hope we can get in touch via Discord instead.
Valid point. I think both are parts of the problem, the binding already being taken and the local IP address not specified to bind the server to locally. If they expect us to go on Discord to help them, they're sadly mistaken I usually browse this site from work during a break and whatnot.
Which port? No one is utilizing it. Also, the server intended to start when I deleted the custom IP.
Yep, that's the idea. You should use the router's WAN IP to connect to your network, not to launch the server itself. The server will be hosted locally—likely on 192.168.x.x—and you'll need to forward a port on your router to access it. This works best for home setups.
These are the current properties of your server. Broadcast console to ops is enabled, query handling is disabled, player idle timeout is set to zero, difficulty is easy, spawning monsters is allowed, and broadcast range covers 100%. Snooper mode is active, status updates are shown, command blocking is off, maximum players allowed is 15, network compression threshold is 256, resource pack SHA1 is max-world-size=29999984, hardcore is disabled, status is enabled, and the server runs on the default level. Command blocks are not restricted, and online mode is active. The server IP is linked directly to your address.