Can't connect to localhost

Discussion in 'Bukkit Help' started by Sparkz117, Apr 7, 2012.

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

    Sparkz117

    Hey guys, so I've been able to connect to my server through 'localhost' before but yesterday I reset my computer and all the files but kept my server files, now when I put my server up and try to connect it says 'Can't reach server' I try joining anyway and it just says 'Failed to connect to the server, Connection time out: connect'
    There is nothing in the server to show that I'm trying to connect to it either? I can connect to other servers online fine, just not mine, any help?
     
  2. Offline

    vapid2323

    Check and make sure your IP has not changed.
     
  3. Offline

    Sparkz117

    Checked that, nothing has changed, also I am using localhost so it shouldn't matter anyway right? I am also using no-ip to change it for everyone else, but that's not caused any issues before
     
  4. Offline

    vapid2323

    I guess you are correct lol, can you connect via the IP instead of localhost or try 127.0.0.1
     
  5. Offline

    Sparkz117

    Just tried connection through both of these, 127.0.0.1, same error, also same error for my actual IP, 94.3.39.31
     
  6. Offline

    vapid2323

    Ok you have done:

    127.0.0.1
    94.3.39.31
    localhost
    localIP

    jeez, whats in server. properties
     
  7. Offline

    Sparkz117

    Server.properties

    allow-nether=true
    level-name=world
    enable-query=false
    allow-flight=false
    server-port=
    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
    generate-structures=true
    view-distance=10
    motd=MonsterLogistics!
     
  8. Offline

    makkarpov

    Try setting property "server-port" to "25565"
     
  9. Offline

    Sparkz117

    Tried this, still doesn't work even using localhost and localhost:25565
     
  10. Offline

    jobbers12

    Try setting server-ip to 127.0.0.1 and online mode to true. No idea if that will work but it's worth a shot I guess.
     
  11. Offline

    Sparkz117

    Tried this, still doesn't work
     
  12. Offline

    vapid2323

    Make a new folder and try everything from the start, there is something you are not telling us about the setup or something your not seeing. Re do all the port forwarding etc. A

    Also you have restarted the computer at least once right?
     
  13. Offline

    Sparkz117

    Tried remaking a brand new server, same issue. I have said everything about the set up that I could possibly say, I have re checked all of my ports to make sure they are open, I have restarted my computer several times over two days also
     
  14. Offline

    vapid2323

    Well shit, we must be missing something.
     
  15. Offline

    Sparkz117

    I just asked someone to try and join my server, and it says 'Can't reach server'


    Code:
    2012-04-09 18:35:57 [INFO] Starting minecraft server version 1.2.5
    2012-04-09 18:35:57 [INFO] Loading properties
    2012-04-09 18:35:57 [INFO] Starting Minecraft server on *:25565
    2012-04-09 18:35:57 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R1.0-b2149jnks (MC: 1.2.5) (Implementing API version 1.2.5-R1.0)
    2012-04-09 18:35:58 [INFO] [Orebfuscator] Loading Orebfuscator v1.4.3
    2012-04-09 18:35:58 [INFO] [LagMeter] Loading LagMeter v1.8
    2012-04-09 18:35:58 [INFO] [GroupManager] Loading GroupManager v1.9 (2.9.1) (Phoenix)
    2012-04-09 18:35:58 [INFO] [WorldEdit] Loading WorldEdit v5.3
    2012-04-09 18:35:58 [INFO] [Permissions] Loading Permissions v3.1.6
    2012-04-09 18:35:58 [INFO] [HawkEye] Loading HawkEye v1.0.7b
    2012-04-09 18:35:58 [INFO] [NoWeather] Loading NoWeather v1.7.4
    2012-04-09 18:35:58 [INFO] [NoCheat] Loading NoCheat v3.5.0
    2012-04-09 18:35:58 [INFO] [mcMMO] Loading mcMMO v1.3.04-b576
    2012-04-09 18:35:58 [INFO] [WorldGuard] Loading WorldGuard v599-a7d1988
    2012-04-09 18:35:58 [INFO] [FoundDiamonds] Loading FoundDiamonds v3.2.4
    2012-04-09 18:35:58 [INFO] [Essentials] Loading Essentials v2.9.1
    2012-04-09 18:35:58 [INFO] [EssentialsProtect] Loading EssentialsProtect v2.9.1
    2012-04-09 18:35:58 [INFO] MLog clients using java 1.4+ standard logging.
    2012-04-09 18:35:58 [INFO] [EssentialsSpawn] Loading EssentialsSpawn v2.9.1
    2012-04-09 18:35:58 [INFO] [VanishNoPacket] Loading VanishNoPacket v3.5
    2012-04-09 18:35:58 [INFO] [EssentialsChat] Loading EssentialsChat v2.9.1
    2012-04-09 18:35:58 [INFO] [Factions] Loading Factions v1.6.7
    2012-04-09 18:35:58 [INFO] [Orebfuscator] Enabling Orebfuscator v1.4.3
    2012-04-09 18:35:58 [INFO] [OFC] Spout not found, using non-Spout mode.
    2012-04-09 18:35:58 [INFO] [OFC] Statistics features enabling...
    2012-04-09 18:35:58 [INFO] [OFC] Version 1.4.3 enabled!
    2012-04-09 18:35:58 [INFO] Preparing level "world"
    2012-04-09 18:35:58 [INFO] Default game type: 0
    2012-04-09 18:35:58 [INFO] Preparing start region for level 0 (Seed: -4727121234215515087)
    2012-04-09 18:35:59 [INFO] Preparing start region for level 1 (Seed: 5416231265039363185)
    2012-04-09 18:35:59 [INFO] Preparing spawn area: 36%
    2012-04-09 18:36:00 [INFO] Preparing start region for level 2 (Seed: 5416231265039363185)
    2012-04-09 18:36:00 [INFO] [LagMeter] Enabling LagMeter v1.8
    2012-04-09 18:36:00 [INFO] [LagMeter 1.8] Old permissions system detected. Using it.
    2012-04-09 18:36:00 [INFO] [LagMeter 1.8] Enabled!  Polling every 40 server ticks.  Logging to C:\Users\Ash\Documents\MyOwnServer\NewServer\plugins\LagMeter\lag.log
    2012-04-09 18:36:00 [INFO] [GroupManager] Enabling GroupManager v1.9 (2.9.1) (Phoenix)
    2012-04-09 18:36:00 [INFO] GroupManager - INFO - World Found: world
    2012-04-09 18:36:00 [INFO] GroupManager - INFO - Superperms support enabled.
    2012-04-09 18:36:00 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    2012-04-09 18:36:00 [INFO] GroupManager - INFO - Backups will be retained for 24 hours!
    2012-04-09 18:36:01 [INFO] GroupManager version 1.9 (2.9.1) (Phoenix) is enabled!
    2012-04-09 18:36:01 [INFO] [WorldEdit] Enabling WorldEdit v5.3
    2012-04-09 18:36:01 [INFO] WEPIF: Using the Bukkit Permissions API.
    2012-04-09 18:36:01 [INFO] [Permissions] Enabling Permissions v3.1.6
    2012-04-09 18:36:01 [INFO] Fake Permissions version 3.1.6 is enabled!
    2012-04-09 18:36:01 [INFO] WEPIF: Using the Bukkit Permissions API.
    2012-04-09 18:36:01 [INFO] [HawkEye] Enabling HawkEye v1.0.7b
    2012-04-09 18:36:01 [INFO] [HawkEye] Starting HawkEye 1.0.7b initiation process...
    2012-04-09 18:36:01 [INFO] [HawkEye] Using Permissions for user permissions
    2012-04-09 18:36:01 [INFO] [HawkEye] Performing update check...
    2012-04-09 18:36:02 [INFO] [HawkEye] No updates available for HawkEye
    2012-04-09 18:36:04 [SEVERE] [HawkEye] Error whilst attempting to get connection: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
     
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    2012-04-09 18:36:04 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin
    2012-04-09 18:36:04 [INFO] [HawkEye] Disabling HawkEye v1.0.7b
    2012-04-09 18:36:04 [INFO] [HawkEye] Version 1.0.7b disabled!
    2012-04-09 18:36:04 [INFO] [NoWeather] Enabling NoWeather v1.7.4
    2012-04-09 18:36:04 [INFO] [NoCheat] Enabling NoCheat v3.5.0
    2012-04-09 18:36:04 [INFO] [NoCheat] version [3.5.0] is enabled.
    2012-04-09 18:36:04 [INFO] [mcMMO] Enabling mcMMO v1.3.04-b576
    2012-04-09 18:36:05 [INFO] [mcMMO] Loading mcMMO config.yml File...
    2012-04-09 18:36:05 [INFO] [mcMMO] Loading mcMMO treasures.yml File...
    2012-04-09 18:36:05 [INFO] mcMMO version 1.3.04-b576 is enabled!
    2012-04-09 18:36:05 [INFO] [WorldGuard] Enabling WorldGuard v599-a7d1988
    2012-04-09 18:36:05 [INFO] [WorldGuard] (world) TNT ignition is PERMITTED.
    2012-04-09 18:36:05 [INFO] [WorldGuard] (world) Lighters are PERMITTED.
    2012-04-09 18:36:05 [INFO] [WorldGuard] (world) Lava fire is blocked.
    2012-04-09 18:36:05 [INFO] [WorldGuard] (world) Fire spread is UNRESTRICTED.
    2012-04-09 18:36:05 [INFO] [WorldGuard] Loaded configuration for world 'world'
    2012-04-09 18:36:05 [INFO] [WorldGuard] (world_nether) TNT ignition is PERMITTED.
    2012-04-09 18:36:05 [INFO] [WorldGuard] (world_nether) Lighters are PERMITTED.
    2012-04-09 18:36:05 [INFO] [WorldGuard] (world_nether) Lava fire is blocked.
    2012-04-09 18:36:05 [INFO] [WorldGuard] (world_nether) Fire spread is UNRESTRICTED.
    2012-04-09 18:36:05 [INFO] [WorldGuard] Loaded configuration for world 'world_nether'
    2012-04-09 18:36:05 [INFO] [WorldGuard] (world_the_end) TNT ignition is PERMITTED.
    2012-04-09 18:36:05 [INFO] [WorldGuard] (world_the_end) Lighters are PERMITTED.
    2012-04-09 18:36:05 [INFO] [WorldGuard] (world_the_end) Lava fire is blocked.
    2012-04-09 18:36:05 [INFO] [WorldGuard] (world_the_end) Fire spread is UNRESTRICTED.
    2012-04-09 18:36:05 [INFO] [WorldGuard] Loaded configuration for world 'world_the_end'
    2012-04-09 18:36:05 [INFO] [WorldGuard] 0 regions loaded for 'world'
    2012-04-09 18:36:05 [INFO] [WorldGuard] 0 regions loaded for 'world_nether'
    2012-04-09 18:36:05 [INFO] [WorldGuard] 0 regions loaded for 'world_the_end'
    2012-04-09 18:36:05 [INFO] [FoundDiamonds] Enabling FoundDiamonds v3.2.4
    2012-04-09 18:36:06 [INFO] [FoundDiamonds] Enabled
    2012-04-09 18:36:06 [INFO] [Essentials] Enabling Essentials v2.9.1
    2012-04-09 18:36:06 [INFO] Essentials: Using GroupManager based permissions.
    2012-04-09 18:36:06 [INFO] [EssentialsProtect] Enabling EssentialsProtect v2.9.1
    2012-04-09 18:36:06 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
    2012-04-09 18:36:06 [INFO] [EssentialsSpawn] Enabling EssentialsSpawn v2.9.1
    2012-04-09 18:36:06 [INFO] [VanishNoPacket] Enabling VanishNoPacket v3.5
    2012-04-09 18:36:06 [INFO] [VanishNoPacket] v3.5 loaded.
    2012-04-09 18:36:06 [INFO] [EssentialsChat] Enabling EssentialsChat v2.9.1
    2012-04-09 18:36:06 [INFO] [Factions] Enabling Factions v1.6.7
    2012-04-09 18:36:06 [INFO] [Factions v1.6.7] === ENABLE START ===
    2012-04-09 18:36:06 [INFO] [Factions v1.6.7] Loading board from disk
    2012-04-09 18:36:06 [INFO] [Factions v1.6.7] Found and will integrate chat with EssentialsChat v2.9.1
    2012-04-09 18:36:06 [INFO] [Factions v1.6.7] Economy integration is disabled, and the plugin "Vault" is not installed.
    2012-04-09 18:36:06 [INFO] [Factions v1.6.7] === ENABLE DONE (Took 102ms) ===
    2012-04-09 18:36:06 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2012-04-09 18:36:07 [INFO] Done (8.205s)! For help, type "help" or "?"
    2012-04-09 18:36:07 [INFO] GroupManager - INFO - Bukkit Permissions Updated!
    Any ideas?
     
  16. Offline

    vapid2323

    Thats a error that happens at port forwarding, post a screenshot of your port forwarding setup on the router and also let us know what the internal IP is for that computer
     
  17. Offline

    Sparkz117

    Picture = http://i1144.photobucket.com/albums/o493/ishaft_Babies/Server.png
    And my internal IP is 192.168.0.3
    My external is 94.3.39.31
     

    Attached Files:

  18. Offline

    vapid2323

  19. Offline

    Sparkz117

    Yeah both TCP and UDP, and the properties has 25565 in it
     
  20. Offline

    vapid2323

    I have nothing left, I dont know whats wrong >.<
     
  21. Offline

    Sparkz117

    Okay thanks for trying anyway :/
     
  22. Offline

    XDshadowDX

    Sparkyz117, try putting your ip in the server-ip=
     
  23. Offline

    Bertware

    • Leave server-ip always blank
    • Enter server-port=25565
    • Run as administrator
    • Run without plugins
    • Allow the .jar, the .bat, and java.exe throug your firewall, antivirus, ...
    • Make sure your firewall isn't in safe mode or similar.
     
  24. Offline

    Sparkz117

    I tried this, still doesn't work :/

    Thank you everyone for the help! I got it to work, but I had to turn off all my firewalls and add expections to the inbound and outbound ports and allow javaw, javasw and java to run through the windows firewall

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

    vapid2323

    I should have thought of that, but ohh well
     
  26. Offline

    Sparkz117

    Ahah thanks for all the help anyway! Appreciate it
     
  27. Offline

    andrewpo

    Minecraft only uses TCP, not UDP.

    Also setting server-port to 25565 in your server properties will have no effect as that is the default port anyway.
    You should leave server-ip blank unless you have a complex network setup.
     
Thread Status:
Not open for further replies.

Share This Page