• 0

    posted a message on Lost Connection Error
    Updated my previous post. See EDIT: section.
    Posted in: Server Support and Administration
  • 0

    posted a message on Lost Connection Error
    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:

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

    @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!
    Posted in: Server Support and Administration
  • To post a comment, please .