For about a month, i had set up a server and it was working fine for me and my friend. One day recently though, i went to load the server and it automatically closed itself right away, and the batch file seemed to stop working all on its own, i hadnt messed with anything to cause this.
Deciding it was probably just due for an update, i made a copy of the world and the other important stuff, re downloaded the server, replaced the world folder and all that, and can now open the server again. It does seem to be getting some errors within though:
[00:08:02 INFO]: Starting minecraft server version 1.8.3
[00:08:02 ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_40]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_40]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_40]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_40]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_40]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_40]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_40]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_40]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_40]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_40]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_40]
at kp$2.run(SourceFile:81) [minecraft_server.jar:?]
[00:08:02 WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[00:08:02 INFO]: Loading properties
[00:08:02 INFO]: Default game type: SURVIVAL
[00:08:02 INFO]: Generating keypair
[00:08:02 INFO]: Starting Minecraft server on *:25565
[00:08:02 INFO]: Using default channel type
[00:08:03 WARN]: Failed to load white-list:
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2
at com.google.gson.Gson.assertFullConsumption(Gson.java:779) ~[minecraft_server.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:769) ~[minecraft_server.jar:?]
at mc.g(SourceFile:125) ~[minecraft_server.jar:?]
at ko.C(SourceFile:123) [minecraft_server.jar:?]
at ko.<init>(SourceFile:30) [minecraft_server.jar:?]
at kp.i(SourceFile:172) [minecraft_server.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:419) [minecraft_server.jar:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_40]
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) ~[minecraft_server.jar:?]
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1386) ~[minecraft_server.jar:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:531) ~[minecraft_server.jar:?]
at com.google.gson.stream.JsonReader.peek(JsonReader.java:414) ~[minecraft_server.jar:?]
at com.google.gson.Gson.assertFullConsumption(Gson.java:775) ~[minecraft_server.jar:?]
... 7 more
[00:08:03 INFO]: Preparing level "world"
[00:08:03 INFO]: Preparing start region for level 0
[00:08:04 INFO]: Preparing spawn area: 57%
[00:08:04 INFO]: Done (1.384s)! For help, type "help" or "?"
So the servers running, my batch file that used to work still wont ( so i need a new one for the newest version of java as i just updated it moments ago), but I cant connect.
I checked to make sure the port was still open, and port 25565 is still in my list of port forwards, named minecraft like i set it. I disabled the firewall entirely, that did nothing. went into server properties and it is definitely set to port 25565. Checked if the server was set to the right IP to connect ( it still had the ip of when it did work in there, plus it is still right after double checking).
So truly I dont know why I cant connect. Any help would be great
For about a month, i had set up a server and it was working fine for me and my friend. One day recently though, i went to load the server and it automatically closed itself right away, and the batch file seemed to stop working all on its own, i hadnt messed with anything to cause this.
Deciding it was probably just due for an update, i made a copy of the world and the other important stuff, re downloaded the server, replaced the world folder and all that, and can now open the server again. It does seem to be getting some errors within though:
[00:08:02 INFO]: Starting minecraft server version 1.8.3
[00:08:02 ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_40]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_40]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_40]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_40]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_40]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_40]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_40]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_40]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_40]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_40]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_40]
at kp$2.run(SourceFile:81) [minecraft_server.jar:?]
[00:08:02 WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[00:08:02 INFO]: Loading properties
[00:08:02 INFO]: Default game type: SURVIVAL
[00:08:02 INFO]: Generating keypair
[00:08:02 INFO]: Starting Minecraft server on *:25565
[00:08:02 INFO]: Using default channel type
[00:08:03 WARN]: Failed to load white-list:
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2
at com.google.gson.Gson.assertFullConsumption(Gson.java:779) ~[minecraft_server.jar:?]
at com.google.gson.Gson.fromJson(Gson.java:769) ~[minecraft_server.jar:?]
at mc.g(SourceFile:125) ~[minecraft_server.jar:?]
at ko.C(SourceFile:123) [minecraft_server.jar:?]
at ko.<init>(SourceFile:30) [minecraft_server.jar:?]
at kp.i(SourceFile:172) [minecraft_server.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:419) [minecraft_server.jar:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_40]
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) ~[minecraft_server.jar:?]
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1386) ~[minecraft_server.jar:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:531) ~[minecraft_server.jar:?]
at com.google.gson.stream.JsonReader.peek(JsonReader.java:414) ~[minecraft_server.jar:?]
at com.google.gson.Gson.assertFullConsumption(Gson.java:775) ~[minecraft_server.jar:?]
... 7 more
[00:08:03 INFO]: Preparing level "world"
[00:08:03 INFO]: Preparing start region for level 0
[00:08:04 INFO]: Preparing spawn area: 57%
[00:08:04 INFO]: Done (1.384s)! For help, type "help" or "?"
So the servers running, my batch file that used to work still wont ( so i need a new one for the newest version of java as i just updated it moments ago), but I cant connect.
I checked to make sure the port was still open, and port 25565 is still in my list of port forwards, named minecraft like i set it. I disabled the firewall entirely, that did nothing. went into server properties and it is definitely set to port 25565. Checked if the server was set to the right IP to connect ( it still had the ip of when it did work in there, plus it is still right after double checking).
So truly I dont know why I cant connect. Any help would be great
I got it working. Somehow my ipv4 address changed. last digit went from a 2 to a 5 somehow, so changing it to a 5 made it work instantly