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.


To connect to your server, you need to get the local IP address of your computer unless you are connecting to the server on the same machine your server is running on.

To connect on your own computer to a server ran on your computer, connect to localhost:25565

To get your IP address to connect to your server from another computer, go to the Command Prompt and enter ipconfig, then get the ipv4 address. Then connect to Your_ipv4_address:25565

I recommend using online mode, because, as it says, it is less secure.