So I've been trying to host a Minecraft server with my friend but it isn't working.
I set up the server normally and I do the port forwarding, I check my port with the open port check tool yougetsignal.com and it's open. However every time my friend tries to connect he gets a "Lost Connection Error"
Specifically:
/69.163.149.200:40348 lost connection.
On his end it just comes up with the connecting screen.
When I try to connect to myself with my public IP it gives me a similar error:
java.net.SocketException: Connection reset
at java .net.SocketInutStream.read <Unknown Source>
at java.net.SocketInputStream.read<Unknown Source>
at java.net.SocketInputStream.read<Unknown Source>
at java.io.FilterInputStream.read(Unknown Source>
at lv.a<SourceFile:144>
at qo.h<SourceFile:189>
at qo.c<SourceFile:9>
at zq.run<SourceFile:76>
/10.0.0.14:49994 lost connection
However when I connect with LocalHost it works.
It's also worked with my friends laptop (which he doesn't like using for minecraft cause it's old and useless)
Why is this happening. How can I fix it?
any advice would be appreciated.
As a side note I'm running the server from the minecraft_server.jar file dunno if this makes a difference I don't feel like it should.
This is what my server properties looks like.
#Minecraft server properties
#Sun Mar 04 21:09:43 EST 2012
allow-nether=true
level-name=world
enable-query=false
allow-flight=false
server-port=25565
level-type=DEFAULT
enable-rcon=false
level-seed=
server-ip=
max-build-height=256
spawn-npcs=true
white-list=false
spawn-animals=true
online-mode=true
pvp=true
difficulty=1
gamemode=0
max-players=20
spawn-monsters=true
view-distance=10
generate-structures=true
motd=A Minecraft Server
I'm getting this same error. I'm hosting a server on another computer and ever since the update my client keeps crashing. Sometimes I get an 'out of memory' error but most times the client just swiftly closes on me.
When I check the server console I see the error code above. I feel like it's client-side but I'm not sure. Has anyone else experienced this?
I am having a similar problem as 68ant has posted. I also lose connection instantly upon attempting to connect to my server, but I do not recieve an error message in my cmd.exe client. I am running Java7. I verified that my port is open and port forwarding is configured. My server.properties file looks like this:
My RUN.bat file contains this:
(My .jar file matches the one here and I gave the RUN.bat file the correct destination for my java folder)
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit-1.1-R6-20120301.142116-2.jar
PAUSE
I go to the multiplayer server list in the minecraft client and my server has connection. I am trying to connect and host the server from the same computer. I am using <My IPv4>:25565 for the server address. However when I click the 'Join Server' button my command promt receives this message (This is the major source of my confusion. IDK what this address is. What do the ports mean?):
/69.163.149.200:54881 lost connection
Then the log in attempt times out and my command promt receives this message:
Disconnecting /192.168.2.4:50994: Took too long to log in
Reached end of stream
Is this problem related to the Minecraft servers? 1.2.4 released recently and I believe I am using the most up to date version of CraftBukkit.jar. I am having trouble understanding the problem because this is my first attempt at hosting a server. It's for my family. I'm trying to get this working using the method Bukkit presented on their wiki for starting a server. It is not a plugin related issue because my plugins directory is empty. What are we missing? I would prefer to use a bukkit server rather than the server file provided by minecraft.net so i can utilize plugins for ease of editing. Thanks. I will try again later to see if time or updates correct this problem as well as post here if anything changes.
EDIT:
I solved the problem I was having by using an updated version of the .jar file. I then corrected the name of the .jar file listed within my RUN.bat file. I can connect now without any problems. I had downloaded a "recommended build" from the bukkit site but it wasn't the latest version available.
@68ant:
There could be a couple things or just one causing your error. To troubleshoot, make sure java is up to date. Then you should check your file paths. The minecraft.net/download page has this to say:
If you want to run the server on any other OS or without GUI it's a bit more involved (see this wiki article for a tutorial). First make sure you can use java from the command line. On Linux and Mac OS X this should already be set up but on Windows you might have to tinker with the PATH environment variable. Download and run minecraft_server.jar (621 KB) with java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui.
You can try deleting your .jar file and start up the .exe file. This might recreate the .jar file with an updated version. Pay a visit to the wiki link from the minecraft download page if you still need help. Hope this works for you!
Type in the Server ip in the server.properties go to the start menu then type cmd click it then type ipconfig scroll down and find the ipv4 adress thats what you type in to your server properties where it says server-ip then your friends have to join your external ip to join the server so go to ipchicken search it on google and whatever the ip is they have to type that in
I'm getting this same error. I'm hosting a server on another computer and ever since the update my client keeps crashing. Sometimes I get an 'out of memory' error but most times the client just swiftly closes on me.
When I check the server console I see the error code above. I feel like it's client-side but I'm not sure. Has anyone else experienced this?
Same things happening to me with 1.4.7. And its really anoying!
Time: 12/23/13 11:34 AM
Description: Ticking entity
java.lang.OutOfMemoryError: Java heap space
at gq.<init>(SourceFile:67)
at mm.h(SourceFile:188)
at afn.a(SourceFile:1368)
at mj.a(SourceFile:480)
at afn.g(SourceFile:1346)
at afn.h(SourceFile:1253)
at mj.h(SourceFile:365)
at net.minecraft.server.MinecraftServer.u(SourceFile:511)
at lj.u(SourceFile:265)
at net.minecraft.server.MinecraftServer.t(SourceFile:441)
at net.minecraft.server.MinecraftServer.run(SourceFile:358)
at ky.run(SourceFile:617)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at gq.<init>(SourceFile:67)
at mm.h(SourceFile:188)
at afn.a(SourceFile:1368)
at mj.a(SourceFile:480)
at afn.g(SourceFile:1346)
-- Entity being ticked --
Details:
Entity Type: null (mm)
Entity ID: 380
Entity Name: mindcrack7
Entity's Exact location: -3785.76, 58.00, 169.53
Entity's Block location: World: (-3786,58,169), Chunk: (at 6,3,9 in -237,10; contains blocks -3792,0,160 to -3777,255,175), Region: (-8,0; contains chunks -256,0 to -225,31, blocks -4096,0,0 to -3585,255,511)
Entity's Momentum: 0.00, -0.08, 0.00
Stacktrace:
at afn.h(SourceFile:1253)
at mj.h(SourceFile:365)
-- Affected level --
Details:
Level name: world
All players: 2 total; [mm['cpt_penguiino'/85, l='world', x=-3734.08, y=13.00, z=255.43], mm['mindcrack7'/380, l='world', x=-3785.76, y=58.00, z=169.53]]
Chunk stats: ServerChunkCache: 1219 Drop: 0
Level seed: -5444736920452865062
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (33,64,-8), Chunk: (at 1,4,8 in 2,-1; contains blocks 32,0,-16 to 47,255,-1), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Level time: 518018 game time, 540575 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 93045 (now: false), thunder time: 126784 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.u(SourceFile:511)
at lj.u(SourceFile:265)
at net.minecraft.server.MinecraftServer.t(SourceFile:441)
at net.minecraft.server.MinecraftServer.run(SourceFile:358)
at ky.run(SourceFile:617)
-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Mac OS X (x86_64) version 10.6.8
Java Version: 1.6.0_65, Apple Inc.
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Apple Inc.
Memory: 130192 bytes (0 MB) / 129957888 bytes (123 MB) up to 129957888 bytes (123 MB)
JVM Flags: 0 total;
AABB Pool Size: 8295 (464520 bytes; 0 MB) allocated, 3430 (192080 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
Profiler Position: N/A (disabled)
Vec3 Pool Size: 12677 (709912 bytes; 0 MB) allocated, 11396 (638176 bytes; 0 MB) used
Player Count: 2 / 20; [mm['cpt_penguiino'/85, l='world', x=-3734.08, y=13.00, z=255.43], mm['mindcrack7'/380, l='world', x=-3785.76, y=58.00, z=169.53]]
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
student$ /Users/student/Desktop/ClassicCraft/LaunchServer.command ; exit;148 recipes
16 achievements
14:20:21 [INFO] Starting minecraft server version Beta 1.6.6
14:20:21 [INFO] Loading properties
14:20:21 [INFO] Starting Minecraft server on *:25565
14:20:21 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-823-gb9d0b04-b860jnks (MC: 1.6.6)
14:20:21 [INFO] Preparing level "CookieCraft copy"
14:20:21 [INFO] Preparing start region for level 0
14:20:21 [INFO] Preparing start region for level 1
14:20:22 [SEVERE] Could not load 'plugins/WatchBlock.jar' in folder 'plugins':
java.lang.UnsupportedClassVersionError: tk/minecraftopia/watchblock/WatchBlock : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:167)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
14:20:22 [SEVERE] Error occurred while enabling Vault v1.4.1-b436 (Is it up to date?): net.milkbowl.vault.Vault.getLogger()Ljava/util/logging/Logger;
java.lang.NoSuchMethodError: net.milkbowl.vault.Vault.getLogger()Ljava/util/logging/Logger;
at net.milkbowl.vault.Vault.onEnable(Vault.java:136)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:799)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
14:20:22 [INFO] Done (0.102s)! For help, type "help" or "?"
14:20:37 [SEVERE] java.io.IOException: Bad packet id 17
14:20:37 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:78)
14:20:37 [SEVERE] at net.minecraft.server.NetworkManager.g(NetworkManager.java:149)
14:20:37 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.java:259)
14:20:37 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:84)
14:20:37 [INFO] /172.29.165.162:52370 lost connection
>
I set up the server normally and I do the port forwarding, I check my port with the open port check tool yougetsignal.com and it's open. However every time my friend tries to connect he gets a "Lost Connection Error"
Specifically:
/69.163.149.200:40348 lost connection.
On his end it just comes up with the connecting screen.
When I try to connect to myself with my public IP it gives me a similar error:
java.net.SocketException: Connection reset
at java .net.SocketInutStream.read <Unknown Source>
at java.net.SocketInputStream.read<Unknown Source>
at java.net.SocketInputStream.read<Unknown Source>
at java.io.FilterInputStream.read(Unknown Source>
at lv.a<SourceFile:144>
at qo.h<SourceFile:189>
at qo.c<SourceFile:9>
at zq.run<SourceFile:76>
/10.0.0.14:49994 lost connection
However when I connect with LocalHost it works.
It's also worked with my friends laptop (which he doesn't like using for minecraft cause it's old and useless)
Why is this happening. How can I fix it?
any advice would be appreciated.
As a side note I'm running the server from the minecraft_server.jar file dunno if this makes a difference I don't feel like it should.
This is what my server properties looks like.
#Minecraft server properties
#Sun Mar 04 21:09:43 EST 2012
allow-nether=true
level-name=world
enable-query=false
allow-flight=false
server-port=25565
level-type=DEFAULT
enable-rcon=false
level-seed=
server-ip=
max-build-height=256
spawn-npcs=true
white-list=false
spawn-animals=true
online-mode=true
pvp=true
difficulty=1
gamemode=0
max-players=20
spawn-monsters=true
view-distance=10
generate-structures=true
motd=A Minecraft Server
When I check the server console I see the error code above. I feel like it's client-side but I'm not sure. Has anyone else experienced this?
My RUN.bat file contains this:
(My .jar file matches the one here and I gave the RUN.bat file the correct destination for my java folder)
I go to the multiplayer server list in the minecraft client and my server has connection. I am trying to connect and host the server from the same computer. I am using <My IPv4>:25565 for the server address. However when I click the 'Join Server' button my command promt receives this message (This is the major source of my confusion. IDK what this address is. What do the ports mean?):
Then the log in attempt times out and my command promt receives this message:
Is this problem related to the Minecraft servers? 1.2.4 released recently and I believe I am using the most up to date version of CraftBukkit.jar. I am having trouble understanding the problem because this is my first attempt at hosting a server. It's for my family. I'm trying to get this working using the method Bukkit presented on their wiki for starting a server. It is not a plugin related issue because my plugins directory is empty. What are we missing? I would prefer to use a bukkit server rather than the server file provided by minecraft.net so i can utilize plugins for ease of editing. Thanks. I will try again later to see if time or updates correct this problem as well as post here if anything changes.
EDIT:
I solved the problem I was having by using an updated version of the .jar file. I then corrected the name of the .jar file listed within my RUN.bat file. I can connect now without any problems. I had downloaded a "recommended build" from the bukkit site but it wasn't the latest version available.
@68ant:
There could be a couple things or just one causing your error. To troubleshoot, make sure java is up to date. Then you should check your file paths. The minecraft.net/download page has this to say:
You can try deleting your .jar file and start up the .exe file. This might recreate the .jar file with an updated version. Pay a visit to the wiki link from the minecraft download page if you still need help. Hope this works for you!
Same things happening to me with 1.4.7. And its really anoying!
---- Minecraft Crash Report ----
// You're mean.
Time: 12/23/13 11:34 AM
Description: Ticking entity
java.lang.OutOfMemoryError: Java heap space
at gq.<init>(SourceFile:67)
at mm.h(SourceFile:188)
at afn.a(SourceFile:1368)
at mj.a(SourceFile:480)
at afn.g(SourceFile:1346)
at afn.h(SourceFile:1253)
at mj.h(SourceFile:365)
at net.minecraft.server.MinecraftServer.u(SourceFile:511)
at lj.u(SourceFile:265)
at net.minecraft.server.MinecraftServer.t(SourceFile:441)
at net.minecraft.server.MinecraftServer.run(SourceFile:358)
at ky.run(SourceFile:617)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at gq.<init>(SourceFile:67)
at mm.h(SourceFile:188)
at afn.a(SourceFile:1368)
at mj.a(SourceFile:480)
at afn.g(SourceFile:1346)
-- Entity being ticked --
Details:
Entity Type: null (mm)
Entity ID: 380
Entity Name: mindcrack7
Entity's Exact location: -3785.76, 58.00, 169.53
Entity's Block location: World: (-3786,58,169), Chunk: (at 6,3,9 in -237,10; contains blocks -3792,0,160 to -3777,255,175), Region: (-8,0; contains chunks -256,0 to -225,31, blocks -4096,0,0 to -3585,255,511)
Entity's Momentum: 0.00, -0.08, 0.00
Stacktrace:
at afn.h(SourceFile:1253)
at mj.h(SourceFile:365)
-- Affected level --
Details:
Level name: world
All players: 2 total; [mm['cpt_penguiino'/85, l='world', x=-3734.08, y=13.00, z=255.43], mm['mindcrack7'/380, l='world', x=-3785.76, y=58.00, z=169.53]]
Chunk stats: ServerChunkCache: 1219 Drop: 0
Level seed: -5444736920452865062
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (33,64,-8), Chunk: (at 1,4,8 in 2,-1; contains blocks 32,0,-16 to 47,255,-1), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Level time: 518018 game time, 540575 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 93045 (now: false), thunder time: 126784 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.u(SourceFile:511)
at lj.u(SourceFile:265)
at net.minecraft.server.MinecraftServer.t(SourceFile:441)
at net.minecraft.server.MinecraftServer.run(SourceFile:358)
at ky.run(SourceFile:617)
-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Mac OS X (x86_64) version 10.6.8
Java Version: 1.6.0_65, Apple Inc.
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Apple Inc.
Memory: 130192 bytes (0 MB) / 129957888 bytes (123 MB) up to 129957888 bytes (123 MB)
JVM Flags: 0 total;
AABB Pool Size: 8295 (464520 bytes; 0 MB) allocated, 3430 (192080 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
Profiler Position: N/A (disabled)
Vec3 Pool Size: 12677 (709912 bytes; 0 MB) allocated, 11396 (638176 bytes; 0 MB) used
Player Count: 2 / 20; [mm['cpt_penguiino'/85, l='world', x=-3734.08, y=13.00, z=255.43], mm['mindcrack7'/380, l='world', x=-3785.76, y=58.00, z=169.53]]
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
Error: Connection Lost
It sucks, if anyone could help