Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Lost Connection Error

Minecraft Server Error Lost Connection Multiplayer SMP Friends Help Frustrated

  • Please log in to reply
10 replies to this topic

#1

68ant
    68ant

    Out of the Water

  • Members
  • 4 posts

Posted 04 March 2012 - 10:50 AM

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

Register or log in to remove.

#2

FawltyTowers
  • Minecraft: FawltyTowers

Posted 08 March 2012 - 05:50 AM

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?

#3

Rred26
    Rred26

    Out of the Water

  • Members
  • 2 posts

Posted 25 March 2012 - 04:53 PM

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:

Quote

#Minecraft server properties
#Sun Mar 25 08:45:07 PDT 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=
spawn-npcs=true
white-list=false
spawn-animals=true
online-mode=true
pvp=true
difficulty=1
gamemode=0
max-players=10
spawn-monsters=true
generate-structures=true
view-distance=10
motd=Bukkit Server

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)

Quote

@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?):

Quote

/69.163.149.200:54881 lost connection

Then the log in attempt times out and my command promt receives this message:

Quote

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:

Quote

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!

#4

Rred26
    Rred26

    Out of the Water

  • Members
  • 2 posts

Posted 26 March 2012 - 05:50 PM

Updated my previous post. See EDIT: section.

#5

Th3GameFreak
  • Location: Lancaster, Ohio
  • Minecraft: I_loveMinecraft
  • Xbox:Th3GameFreak

Posted 15 July 2012 - 04:49 PM

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

#6

RONNOC777_is_kwl
  • Minecraft: RONNOC777

Posted 23 February 2013 - 12:18 AM

View PostFawltyTowers, on 08 March 2012 - 05:50 AM, said:

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!

#7

rocketstrong101

Posted 17 September 2013 - 06:06 AM

same my servers hosted though and running mods

#8

cpt_penguiino

Posted 23 December 2013 - 04:35 PM

well im able to join but then i lose connection
  

---- 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™ 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)

#9

PixelDisaster

Posted 09 February 2014 - 10:37 PM

Same here.  Would be nice if someone had a fix to this

#10

jillypen
    jillypen

    Tree Puncher

  • Members
  • 17 posts

Posted 21 February 2014 - 10:29 PM

Im having this problem too and need an answer ASAP

#11

schaffer919
  • Minecraft: schaffer919

Posted 10 April 2014 - 03:17 AM

I'm having this problem also. It let's my friends and I onto my server but after a little bit of playing it says:
Error: Connection Lost