Communication Errors

Discussion in 'Bukkit Help' started by Nesterwork, Mar 3, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Nesterwork

    Hi there, i ran a server for a while with just some friends and all worked fine.

    But now when i try and load up my server i get a "Communication Error" even on localhost and 127.0.0.1 IP's, i have the ports forwarded and all i need accepted through firewall.

    please halp :)

    anyone can help?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  2. please post your "server.log" file. use a site like pastie or pastebin and post the link here.
     
  3. Offline

    Nesterwork

    thanks for the replay :) http://pastebin.com/X6XTYbzB

    the end few restarts on the log is me testing if it would work by chaning ip/port

    Code:
    2013-03-03 22:03:34 [INFO] Starting minecraft server version 1.4.7
    2013-03-03 22:03:34 [INFO] Loading properties
    2013-03-03 22:03:34 [INFO] Default game type: SURVIVAL
    2013-03-03 22:03:34 [INFO] Generating keypair
    2013-03-03 22:03:35 [INFO] Starting Minecraft server on *:25565
    2013-03-03 22:03:35 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.7-R1.0-b2624jnks (MC: 1.4.7) (Implementing API version 1.4.7-R1.0)
    2013-03-03 22:03:35 [INFO] Preparing level "world"
    2013-03-03 22:03:35 [INFO] Preparing start region for level 0 (Seed: 3593743276924802395)
    2013-03-03 22:03:36 [INFO] Preparing spawn area: 36%
    2013-03-03 22:03:37 [INFO] Preparing spawn area: 73%
    2013-03-03 22:03:38 [INFO] Preparing start region for level 1 (Seed: 3593743276924802395)
    2013-03-03 22:03:38 [INFO] Preparing start region for level 2 (Seed: 3593743276924802395)
    2013-03-03 22:03:38 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2013-03-03 22:03:38 [INFO] Done (3.277s)! For help, type "help" or "?"
    Thats the second run (after it created) with no plugins

    Code:
     [COLOR=green]Success:[/COLOR] I can see your service on [B]**.**.***.195[/B] on port ([B]25565[/B])
    Your ISP is not blocking port 25565
    from: http://www.canyouseeme.org/

    anyone please help me, i need to get my server back for a project.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  4. Offline

    TnT

    Post your server IP so someone else can validate it for you.

    When you try to connect, do you see any connection attempts in your log?
     
  5. could you delete you server.log, then start and stop the server and repost the new server.log. the one you posted has the logged events from since you first created the server. condensing it down to 1 start/stop cycle would make the problem easier to pinpoint.
    Edit: scratch that. i think i see the problem. its here:
    Code:
    2013-03-04 16:27:40 [INFO] Starting minecraft server version 1.4.7
    2013-03-04 16:27:40 [INFO] Loading properties
    2013-03-04 16:27:40 [INFO] Default game type: SURVIVAL
    2013-03-04 16:27:40 [INFO] Generating keypair
    2013-03-04 16:27:41 [INFO] Starting Minecraft server on starfall.zapto.org:25565
    2013-03-04 16:27:41 [WARNING] **** FAILED TO BIND TO PORT!
    2013-03-04 16:27:41 [WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind
    2013-03-04 16:27:41 [WARNING] Perhaps a server is already running on that port?
    2013-03-04 16:27:46 [INFO] Starting minecraft server version 1.4.7
    2013-03-04 16:27:46 [INFO] Loading properties
    2013-03-04 16:27:46 [INFO] Default game type: SURVIVAL
    2013-03-04 16:27:46 [INFO] Generating keypair
    2013-03-04 16:27:46 [INFO] Starting Minecraft server on starfall.zapto.org:25565
    2013-03-04 16:27:46 [WARNING] **** FAILED TO BIND TO PORT!
    2013-03-04 16:27:46 [WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind
    2013-03-04 16:27:46 [WARNING] Perhaps a server is already running on that port?
    2013-03-04 16:27:51 [INFO] Starting minecraft server version 1.4.7
    2013-03-04 16:27:51 [INFO] Loading properties
    2013-03-04 16:27:51 [INFO] Default game type: SURVIVAL
    2013-03-04 16:27:51 [INFO] Generating keypair
    2013-03-04 16:27:52 [INFO] Starting Minecraft server on starfall.zapto.org:25565
    2013-03-04 16:27:52 [WARNING] **** FAILED TO BIND TO PORT!
    2013-03-04 16:27:52 [WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind
    2013-03-04 16:27:52 [WARNING] Perhaps a server is already running on that port?
    2013-03-04 16:28:10 [INFO] Starting minecraft server version 1.4.7
    2013-03-04 16:28:10 [INFO] Loading properties
    2013-03-04 16:28:10 [INFO] Default game type: SURVIVAL
    2013-03-04 16:28:10 [INFO] Generating keypair
    2013-03-04 16:28:10 [INFO] Starting Minecraft server on starfall.zapto.org:25565
    2013-03-04 16:28:10 [WARNING] **** FAILED TO BIND TO PORT!
    2013-03-04 16:28:10 [WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind
    2013-03-04 16:28:10 [WARNING] Perhaps a server is already running on that port?
    2013-03-04 16:28:23 [INFO] Starting minecraft server version 1.4.7
    2013-03-04 16:28:23 [INFO] Loading properties
    2013-03-04 16:28:23 [INFO] Default game type: SURVIVAL
    2013-03-04 16:28:23 [INFO] Generating keypair
    2013-03-04 16:28:23 [INFO] Starting Minecraft server on 192.168.0.6:25565
    2013-03-04 16:28:23 [WARNING] **** FAILED TO BIND TO PORT!
    2013-03-04 16:28:23 [WARNING] The exception was: java.net.BindException: Address already in use: JVM_Bind
    2013-03-04 16:28:23 [WARNING] Perhaps a server is already running on that port?
    2013-03-04 16:28:26 [INFO] Starting minecraft server version 1.4.7
    2013-03-04 16:28:26 [INFO] Loading properties
    2013-03-04 16:28:26 [INFO] Default game type: SURVIVAL
    2013-03-04 16:28:26 [INFO] Generating keypair
    2013-03-04 16:28:26 [INFO] Starting Minecraft server on 192.168.0.6:25565
    2013-03-04 16:28:26 [WARNING] **** FAILED TO BIND TO PORT!
    2013-03-04 16:28:26 [WARNING] The exception was: java.net.BindException: Address already in use: JVM_Bind
    2013-03-04 16:28:26 [WARNING] Perhaps a server is already running on that port?
    2013-03-04 16:28:41 [INFO] Starting minecraft server version 1.4.7
    2013-03-04 16:28:41 [INFO] Loading properties
    2013-03-04 16:28:41 [INFO] Default game type: SURVIVAL
    2013-03-04 16:28:41 [INFO] Generating keypair
    2013-03-04 16:28:41 [INFO] Starting Minecraft server on 127.0.0.1:25565
    2013-03-04 16:28:41 [WARNING] **** FAILED TO BIND TO PORT!
    2013-03-04 16:28:41 [WARNING] The exception was: java.net.BindException: Address already in use: JVM_Bind
    2013-03-04 16:28:41 [WARNING] Perhaps a server is already running on that port?
    2013-03-04 16:28:43 [INFO] Starting minecraft server version 1.4.7
    2013-03-04 16:28:43 [INFO] Loading properties
    2013-03-04 16:28:43 [INFO] Default game type: SURVIVAL
    2013-03-04 16:28:43 [INFO] Generating keypair
    2013-03-04 16:28:44 [INFO] Starting Minecraft server on 127.0.0.1:25565
    2013-03-04 16:28:44 [WARNING] **** FAILED TO BIND TO PORT!
    2013-03-04 16:28:44 [WARNING] The exception was: java.net.BindException: Address already in use: JVM_Bind
    2013-03-04 16:28:44 [WARNING] Perhaps a server is already running on that port?
    2013-03-04 16:28:55 [INFO] Starting minecraft server version 1.4.7
    2013-03-04 16:28:55 [INFO] Loading properties
    2013-03-04 16:28:55 [INFO] Default game type: SURVIVAL
    2013-03-04 16:28:55 [INFO] Generating keypair
    2013-03-04 16:28:55 [INFO] Starting Minecraft server on *:25565
    2013-03-04 16:28:55 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.7-R1.0-b2624jnks (MC: 1.4.7) (Implementing API version 1.4.7-R1.0)
    2013-03-04 16:28:55 [INFO] [PermissionsEx] sql backend registered!
    2013-03-04 16:28:55 [INFO] [PermissionsEx] file backend registered!
    2013-03-04 16:28:55 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    2013-03-04 16:28:55 [INFO] [PermissionsEx] Loading PermissionsEx v1.19.5
    2013-03-04 16:28:55 [INFO] [PermissionsEx] Initializing file backend
    2013-03-04 16:28:56 [INFO] Permissions file successfully reloaded
    2013-03-04 16:28:56 [INFO] [Modifyworld] Loading Modifyworld v1.19.4
    2013-03-04 16:28:56 [INFO] [mcMMO] Loading mcMMO v1.4.00-b1726
    2013-03-04 16:28:56 [INFO] [Essentials] Loading Essentials v2.10.1
    2013-03-04 16:28:56 [INFO] [EssentialsChat] Loading EssentialsChat v2.10.1
    2013-03-04 16:28:56 [INFO] [EssentialsProtect] Loading EssentialsProtect v2.10.1
    2013-03-04 16:28:56 [INFO] MLog clients using java 1.4+ standard logging.
    2013-03-04 16:28:56 [INFO] [EssentialsSpawn] Loading EssentialsSpawn v2.10.1
    2013-03-04 16:28:56 [INFO] [EssentialsAntiBuild] Loading EssentialsAntiBuild v2.10.1
    2013-03-04 16:28:56 [INFO] [mcMMO] Enabling mcMMO v1.4.00-b1726
    2013-03-04 16:28:56 [INFO] [mcMMO] Loading mcMMO config.yml File...
    2013-03-04 16:28:56 [INFO] [mcMMO] Loading mcMMO treasures.yml File...
    2013-03-04 16:28:56 [INFO] [mcMMO] Loading mcMMO advanced.yml File...
    2013-03-04 16:28:56 [INFO] [mcMMO] Loading mcMMO child.yml File...
    2013-03-04 16:28:56 [INFO] [mcMMO] Loading mcMMO repair.vanilla.yml File...
    2013-03-04 16:28:56 [INFO] [mcMMO] Version 1.4.00-b1726 is enabled!
    2013-03-04 16:28:56 [INFO] Preparing level "world"
    2013-03-04 16:28:56 [INFO] Preparing start region for level 0 (Seed: 3593743276924802395)
    2013-03-04 16:28:57 [INFO] Preparing start region for level 1 (Seed: 3593743276924802395)
    2013-03-04 16:28:57 [INFO] Preparing spawn area: 97%
    2013-03-04 16:28:57 [INFO] Preparing start region for level 2 (Seed: 3593743276924802395)
    2013-03-04 16:28:57 [INFO] [PermissionsEx] Enabling PermissionsEx v1.19.5
    2013-03-04 16:28:58 [INFO] [PermissionsEx] Superperms support enabled.
    2013-03-04 16:28:58 [INFO] [PermissionsEx] v1.19.5 enabled
    2013-03-04 16:28:58 [INFO] [Modifyworld] Enabling Modifyworld v1.19.4
    2013-03-04 16:28:58 [INFO] [Modifyworld] Modifyworld enabled!
    2013-03-04 16:28:58 [INFO] [Essentials] Enabling Essentials v2.10.1
    2013-03-04 16:28:58 [INFO] Essentials: Using PermissionsEx based permissions.
    2013-03-04 16:28:58 [INFO] [EssentialsChat] Enabling EssentialsChat v2.10.1
    2013-03-04 16:28:58 [INFO] [EssentialsProtect] Enabling EssentialsProtect v2.10.1
    2013-03-04 16:28:58 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
    2013-03-04 16:28:58 [INFO] [EssentialsSpawn] Enabling EssentialsSpawn v2.10.1
    2013-03-04 16:28:58 [INFO] [EssentialsAntiBuild] Enabling EssentialsAntiBuild v2.10.1
    2013-03-04 16:28:58 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2013-03-04 16:28:58 [INFO] Done (2.238s)! For help, type "help" or "?"
    2013-03-04 16:43:54 [INFO] CONSOLE: Stopping the server..
    2013-03-04 16:43:54 [INFO] Stopping server
    2013-03-04 16:43:54 [INFO] [EssentialsAntiBuild] Disabling EssentialsAntiBuild v2.10.1
    2013-03-04 16:43:54 [INFO] [EssentialsSpawn] Disabling EssentialsSpawn v2.10.1
    2013-03-04 16:43:54 [INFO] [EssentialsProtect] Disabling EssentialsProtect v2.10.1
    2013-03-04 16:43:55 [INFO] [EssentialsChat] Disabling EssentialsChat v2.10.1
    2013-03-04 16:43:55 [INFO] [Essentials] Disabling Essentials v2.10.1
    2013-03-04 16:43:55 [INFO] [mcMMO] Disabling mcMMO v1.4.00-b1726
    2013-03-04 16:43:56 [INFO] [mcMMO] Backing up your mcMMO Configuration...
    2013-03-04 16:43:56 [INFO] [mcMMO] Backup Completed.
    2013-03-04 16:43:56 [INFO] [mcMMO] Was disabled.
    2013-03-04 16:43:56 [INFO] [Modifyworld] Disabling Modifyworld v1.19.4
    2013-03-04 16:43:56 [INFO] [Modifyworld] Modifyworld successfully disabled!
    2013-03-04 16:43:56 [INFO] [PermissionsEx] Disabling PermissionsEx v1.19.5
    2013-03-04 16:43:56 [INFO] Permissions file successfully reloaded
    2013-03-04 16:43:56 [INFO] [PermissionsEx] v1.19.5 disabled successfully.
    2013-03-04 16:43:56 [INFO] Saving players
    2013-03-04 16:43:56 [INFO] Saving worlds
    2013-03-04 16:43:56 [INFO] Saving chunks for level 'world'/Overworld
    2013-03-04 16:43:56 [WARNING] DSCT: socket closed
    2013-03-04 16:43:56 [INFO] Closing listening thread
    2013-03-04 16:43:56 [INFO] Saving chunks for level 'world_nether'/Nether
    2013-03-04 16:43:56 [INFO] Saving chunks for level 'world_the_end'/The End
    more spacificly, this part which shows up several times:
    Code:
    2013-03-04 16:28:44 [WARNING] **** FAILED TO BIND TO PORT!
    2013-03-04 16:28:44 [WARNING] The exception was: java.net.BindException: Address already in use: JVM_Bind
    2013-03-04 16:28:44 [WARNING] Perhaps a server is already running on that port?
    it means that another program is already running on that port. close minecraft and stop your server, then check task manager for any processes with the name Java.exe. if one is running, kill it and try again
     
  6. Offline

    Nesterwork

    TnT my friend has tried and it dose not show up for him either (he is not on my network)

    Jamie its not that, they when i was messing with stuff to try and get it working, Thanks anyway
     
  7. Offline

    TnT

    Don't put in your DNS name into the server-ip= line. At most, put in your IP.

    However, unless you have a multihomed server, you don't need to have any IP listed there.
     
  8. Offline

    Nesterwork

    like i said the last few restarts of my log is just me testing by putting in an IP and changing the port, i did have it all working but then it just stopped and i get the communication error
     
  9. try deleting your server.properties file (rename it so you have a backup) and let the server regenerate a new one and try again. it may be a setting you've changed by accident. if you prefer, you can pack your server into a .Zip file and PM the link to me for testing (use dropbox or something like that). (you can remove your world from the Zip file if you'd rather not give copies of your world out.)
     
  10. Offline

    Nesterwork

    ive tried running a clean copy in another folder from fresh, still no dice i'me using the latest reccomended build and JRE7 i thnk (does the java version matter?)
     
  11. open a command prompt and run "java -version" to find your java version.
    the only thing i can say is that you must be running another server on the same system somewhere, else the port bind error wouldn't be there.

    press "windows key + R and type "CMD"
    Type: taskkill -f /im java.exe to kill all java processes that may be running.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  12. Offline

    Nesterwork

    i got this

    C:\Users\Nesterwork>taskkill -f /im java.exe
    ERROR: The process "java.exe" not found.

    and java version:

    java version "1.7.0_09"
    Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
     
  13. ok. so that shows that no other java processes are running.
    your java appears a little out of date. i got:
    Code:
    java version "1.7.0_11"
    Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
    Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
     
  14. Offline

    Nesterwork

    i shall update and post results

    no dice

    java version "1.7.0_17"
    Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
    Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  15. :mad:

    ok. delete your server.log file and then run the server until it crashes, then post just that server.log
    it makes it easier to read if its the log from just 1 run.
     
  16. Offline

    Nesterwork

    it's not crashing it's just not showing even on localhost

    Code:
    2013-03-07 18:29:31 [INFO] Starting minecraft server version 1.4.7
    2013-03-07 18:29:31 [INFO] Loading properties
    2013-03-07 18:29:31 [WARNING] server.properties does not exist
    2013-03-07 18:29:31 [INFO] Generating new properties file
    2013-03-07 18:29:31 [INFO] Default game type: SURVIVAL
    2013-03-07 18:29:31 [INFO] Generating keypair
    2013-03-07 18:29:31 [INFO] Starting Minecraft server on *:25565
    2013-03-07 18:29:31 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.7-R1.0-b2624jnks (MC: 1.4.7) (Implementing API version 1.4.7-R1.0)
    2013-03-07 18:29:31 [WARNING] Failed to load operators list: java.io.FileNotFoundException: .\ops.txt (The system cannot find the file specified)
    2013-03-07 18:29:31 [WARNING] Failed to load white-list: java.io.FileNotFoundException: .\white-list.txt (The system cannot find the file specified)
    2013-03-07 18:29:31 [INFO] Preparing level "world"
    2013-03-07 18:29:32 [INFO] Preparing start region for level 0 (Seed: 2699208055074815264)
    2013-03-07 18:29:33 [INFO] Preparing spawn area: 8%
    2013-03-07 18:29:34 [INFO] Preparing spawn area: 24%
    2013-03-07 18:29:35 [INFO] Preparing spawn area: 48%
    2013-03-07 18:29:36 [INFO] Preparing spawn area: 69%
    2013-03-07 18:29:37 [INFO] Preparing spawn area: 97%
    2013-03-07 18:29:37 [INFO] Preparing start region for level 1 (Seed: 2699208055074815264)
    2013-03-07 18:29:38 [INFO] Preparing spawn area: 20%
    2013-03-07 18:29:39 [INFO] Preparing spawn area: 52%
    2013-03-07 18:29:40 [INFO] Preparing spawn area: 85%
    2013-03-07 18:29:40 [INFO] Preparing start region for level 2 (Seed: 2699208055074815264)
    2013-03-07 18:29:41 [INFO] Preparing spawn area: 32%
    2013-03-07 18:29:42 [INFO] Preparing spawn area: 93%
    2013-03-07 18:29:42 [INFO] Done (10.423s)! For help, type "help" or "?"
     
  17. are you missing any of these 3 files?

    server.properties
    ops.exe
    White-list.txt
    Code:
    2013-03-07 18:29:31 [WARNING] server.properties does not exist
    2013-03-07 18:29:31 [INFO] Generating new properties file
    2013-03-07 18:29:31 [WARNING] Failed to load operators list: java.io.FileNotFoundException: .\ops.txt (The system cannot find the file specified)
    2013-03-07 18:29:31 [WARNING] Failed to load white-list: java.io.FileNotFoundException: .\white-list.txt (The system cannot find the file specified)
     
  18. Offline

    Nesterwork

    no that was the fresh run, it created them

    this is it after it created the files

    Code:
    2013-03-07 18:54:48 [INFO] Starting minecraft server version 1.4.7
    2013-03-07 18:54:48 [INFO] Loading properties
    2013-03-07 18:54:48 [INFO] Default game type: SURVIVAL
    2013-03-07 18:54:48 [INFO] Generating keypair
    2013-03-07 18:54:48 [INFO] Starting Minecraft server on *:25565
    2013-03-07 18:54:49 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.7-R1.0-b2624jnks (MC: 1.4.7) (Implementing API version 1.4.7-R1.0)
    2013-03-07 18:54:49 [INFO] Preparing level "world"
    2013-03-07 18:54:49 [INFO] Preparing start region for level 0 (Seed: 2699208055074815264)
    2013-03-07 18:54:49 [INFO] Preparing start region for level 1 (Seed: 2699208055074815264)
    2013-03-07 18:54:50 [INFO] Preparing spawn area: 69%
    2013-03-07 18:54:50 [INFO] Preparing start region for level 2 (Seed: 2699208055074815264)
    2013-03-07 18:54:50 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2013-03-07 18:54:50 [INFO] Done (1.514s)! For help, type "help" or "?"
    
     
  19. well its giving file not found errors. so i dont know. does the java process have permission to access the folder and its content?
     
  20. Offline

    Nesterwork

    i guess so, it would not run otherwise would it? How do i check?
     
  21. create a new folder on the root of your C drive (just open my computer and open local disk C) and put the run.bat and craftbukkit.jar in there and run it from that new folder.
    see what happens.
     
  22. Offline

    Nesterwork

    done that, still nothing =\ dont want to have to format my PC :3
     
  23. Offline

    monaxide

    What are you using to set up the DNS? If its no-ip make sure it's refreshed, in ur port forwarding make sure you set it up perfectly, and see if ur pc is blocking inbound connections in ur firewall
     
  24. i doubt its anything to do with firewall or DNS servers or port forwarding
     
  25. Offline

    monaxide

    Restart ur pc, try again, post back here with an update?

    Oh wait, u aren't the OP, I wasn't looking at the posters name when I replied

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  26. Offline

    Nesterwork

    i have restared this is a few days old now :)
     
  27. Offline

    monaxide

    Sorry, didn't see that, I'll help more in about 30 minutes if you want.
     
  28. Offline

    Nesterwork

    need all the help i can get bud :) doing my head in, if i can fix by the end of the week ima just format and start aqgain :D

    also the server works on my girlfriends laptop so it's not my router =\
     
  29. Offline

    monaxide

    and did u open the ports of her laptop through the router settings?

    sorry, gotta cover the basics
     
  30. Offline

    Nesterwork

    yup, it all works on her laptop and i can connect (not good enough for a server though)

    okay i seemed to have fixed it, i changed the USB port my wireless dongle was plugged into =\ man i'm an idiot :D

    Thanks to everyone for the help <3 sorry for the waste of your time

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
Thread Status:
Not open for further replies.

Share This Page