Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I did everything the internet said and I turned -o in the BAT file and in server.properties off! Whenever I log in with "localhost" (without the quotes of course), I get a message that says /127.0.0.1:52268 lost connection. Here are my server.properties settings:

#Minecraft server properties
#Sat Feb 01 08:02:58 PST 2014
generator-settings=
op-permission-level=4
allow-nether=true
level-name=world
enable-query=false
allow-flight=false
announce-player-achievements=true
server-port=25565
level-type=DEFAULT
enable-rcon=false
force-gamemode=false
level-seed=
server-ip=
max-build-height=256
spawn-npcs=true
white-list=true
spawn-animals=true
texture-pack=
snooper-enabled=true
hardcore=false
online-mode=true
resource-pack=
pvp=true
difficulty=1
enable-command-block=false
player-idle-timeout=0
gamemode=0
max-players=20
spawn-monsters=true
view-distance=10
generate-structures=true
motd=A Minecraft Server

and my run.bat file says:

C:\Users\BridgeDell\Desktop\bukkit>java -Xmx1024M -jar craftbukkit.jar -o false

08:02:58 [INFO] Starting minecraft server version 1.6.4
08:02:58 [INFO] Loading properties
08:02:58 [INFO] Default game type: SURVIVAL
08:02:58 [INFO] Generating keypair
08:02:58 [INFO] Starting Minecraft server on *:25565
08:02:58 [INFO] This server is running CraftBukkit version git-Bukkit-1.6.4-R2.0
-b2918jnks (MC: 1.6.4) (Implementing API version 1.6.4-R2.0)
08:02:58 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
08:02:58 [WARNING] The server will make no attempt to authenticate usernames. Be
ware.
08:02:58 [WARNING] While this makes the game possible to play without internet a
ccess, it also opens up the ability for hackers to connect with any username the
y choose.
08:02:58 [WARNING] To change this, set "online-mode" to "true" in the server.pro
perties file.
08:02:58 [INFO] Preparing level "world"
08:02:58 [INFO] Preparing start region for level 0 (Seed: -7363543960118968400)
08:02:59 [INFO] Preparing spawn area: 79%
08:03:00 [INFO] Preparing start region for level 1 (Seed: -7363543960118968400)
08:03:00 [INFO] Preparing start region for level 2 (Seed: -7363543960118968400)
08:03:01 [INFO] Server permissions file permissions.yml is empty, ignoring it
08:03:01 [INFO] Done (2.295s)! For help, type "help" or "?"
08:03:19 [INFO] /127.0.0.1:52228 lost connection
08:05:51 [INFO] /192.168.0.4:52252 lost connection
08:06:07 [INFO] /127.0.0.1:52268 lost connection

So what do I do? I am very confused and will appreciate your help! I also have worldedit in the same directory as all the other things and it won't load! I don't see any loading worldedit messages in the run.bat thing! I will try connecting with 127.0.0.1:52252.

share|improve this question
    
it didn't work, and when i tried to connect the port in the error message was 26429 then 26430 then 26431 so i connected to 127.0.0.1:56432 and instead of not being able to connect it said something like the something was bigger than i expected:something something something [8] something [0]! –  techguy816 Feb 1 at 23:08
    
The configfile and the output from the run.bat file doesn't match. The configfile says that online-mode is set to true, the bat-file uses a server/config that has it set to false. –  Arperum Feb 10 at 17:43
    
Try re-starting minecraft –  Jojodmo Mar 20 at 5:13
    
may u send me server folder? then i can have a look. forenusw@gmx.de –  Ekonion Aug 15 at 7:46

4 Answers 4

server-ip=localhost

When connecting, as the IP use localhost, or 127.0.0.1

share|improve this answer
    
So you are saying that the OP just need to remove the port definition that will work? –  Michel Feb 10 at 17:36
    
I guess so, that'd be my first guess. It looks like it's rather some trivial mistake. –  niklon Feb 10 at 21:48

Make sure it's in online mode, keep server-ip blank and make sure you port forwarded correctly. For a guide on how to port forward, go here and select your router.

share|improve this answer

Well this question is old but no correct answer is here so I will try it.

I do not know why you want to join with the port 52252 but you have to change the port in your config file.

The server runs at the moment on the port server-port=25565 what is the original server port.

So if you want to join on your server just enter in the ip field 127.0.0.1.

If you want to join on the server with a other port you have to change the server-port propertie to the port you want for example 52252. If you do so you cannot join with the ip 127.0.0.1.

If you change the port to 52252 you have to use the ip 127.0.0.1:52252. Also make sure the the server-ip field is empty.

The "shortcut" localhost (or localhost:52252) normally should work but to be sure just use the ip address.

share|improve this answer

Go to Online-mode=true and change it to Online-mode=False and change the server-ip= to server-ip=localhost.

To connect put localhost.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.