Port Forwarding problem? hmm..with snapshot!

Discussion in 'Bukkit Help' started by xDarKen, Feb 13, 2011.

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

    xDarKen

    I tried to portforward and i think i did it right, the ip and port in the server.properties file are the same. Forwarded TCP and UDP as u can see from the snapshot, it works locally. I typed in my own ip it works (192.168.254.x) but when i try the ip from http://ipchicken.com/ it doesnt work ( 99.199.176.xxx:25565) it gave me a time out error....and same as others...i was running on hamachi before but i decided to portforward it...i turned off the hamachi before i tested it...any ideas? thanks for reading! port.png

    Note : Im running Windows 7 , i7 860, HD5850, 4GB RAM DDR3
     
  2. Offline

    TnT

    Remove your IP from the server-ip= line. It should be left blank.
     
  3. Offline

    xDarKen

    i removed it, it says "Failed to connect to the server Connection timed out: connect" hmm...it still works locally. Am i suppose to forward it to my ip or my router's ip?
     
  4. Offline

    TnT

    Well, see, you blocked out your internal IP (which is pointless). I can't confirm if you're ports are forwarded correctly.

    Also, you can just telnet to your external IP on port 25565 if you want to test if the port is open.
    Code:
    telnet <IP> 25565
     
  5. Offline

    xDarKen

    sorry i dont really understand...so u mean i should forward it to my ipchicken ip just to test it?
     
  6. Offline

    TnT

    Do you have your firewall, on Windows, open correctly?
     
  7. Offline

    xDarKen

    yeah..i even added the port 25565 to exceptional list! can u please try to join my server? o.o 99.199.176.233:25565
    --- merged: Feb 14, 2011 1:38 AM ---
    how do i unblock internal IP anyways? o.o
     
  8. Offline

    TnT

    Can you post the contents of your server.properties file?
    --- merged: Feb 14, 2011 1:41 AM ---
    Do you see my connection attempts?
     
  9. Offline

    xDarKen

    yeah
    --- merged: Feb 14, 2011 1:42 AM ---
    2011-02-13 17:42:11 [INFO] [SpawnControl] Player TnTBass joined with 20 health.
     
  10. Offline

    TnT

    remove your plugins, let me try without
     
  11. Offline

    xDarKen

    Player count: 1
    2011-02-13 17:41:05 [INFO] [SpawnControl] Player TnTBass joined with 20 health.
    java.net.SocketException: Connection reset by peer: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at java.io.DataOutputStream.write(Unknown Source)
    at net.minecraft.server.Packet.a(SourceFile:113)
    at net.minecraft.server.NetworkManager.e(SourceFile:142)
    at net.minecraft.server.NetworkManager.d(SourceFile:15)
    at net.minecraft.server.NetworkWriterThread.run(SourceFile:85)
    java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at net.minecraft.server.Packet.b(SourceFile:102)
    at net.minecraft.server.NetworkManager.f(SourceFile:157)
    at net.minecraft.server.NetworkManager.c(SourceFile:15)
    at net.minecraft.server.NetworkReaderThread.run(SourceFile:68)
    2011-02-13 17:41:33 [INFO] TnTBass lost connection: disconnect.genericReason
    2011-02-13 17:42:11 [INFO] TnTBass [/censored LOL] logged in with entity
    id 507
    Player count: 1
    2011-02-13 17:42:11 [INFO] [SpawnControl] Player TnTBass joined with 20 health.
    .2011-02-13 17:43:08 [INFO] Ken [/censored LOL] logged in with entity id 542
    Player count: 2
    2011-02-13 17:43:08 [INFO] [SpawnControl] Player Ken joined with 20 health.
    2011-02-13 17:43:08 [INFO] Colour set to ? for Ken
    2011-02-13 17:43:11 [INFO] TnTBass lost connection: disconnect.endOfStream
    2011-02-13 17:43:15 [INFO] TnTBass [/censored LOL] logged in with entity
    id 1689
    Player count: 2
    2011-02-13 17:43:15 [INFO] [SpawnControl] Player TnTBass joined with 20 health.
    java.net.SocketException: Connection reset by peer: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at java.io.DataOutputStream.write(Unknown Source)
    at net.minecraft.server.Packet.a(SourceFile:113)
    at net.minecraft.server.NetworkManager.e(SourceFile:142)
    at net.minecraft.server.NetworkManager.d(SourceFile:15)
    at net.minecraft.server.NetworkWriterThread.run(SourceFile:85)
    2011-02-13 17:43:36 [INFO] TnTBass lost connection: disconnect.genericReason
    --- merged: Feb 14, 2011 1:45 AM ---
    i saw your character in game though!
    --- merged: Feb 14, 2011 1:46 AM ---
    #Thu Jan 20 23:08:19 CST 2011
    spawn-protection-size=16
    natural-monsters=Spider,Zombie,Skeleton,Creeper
    enable-health=true
    level-name=world
    disalloweditems=
    alloweditems=
    itemstxtlocation=items.txt
    server-port=25565
    group-txt-location=groups.txt
    whitelist=false
    homelocation=homes.txt
    logging=false
    kitstxtlocation=kits.txt
    hellworld=false
    natural-animals=Sheep,Pig,Chicken,Cow,Squid
    itemspawnblacklist=
    whitelist-txt-location=whitelist.txt
    server-ip=
    natural-spawn-rate=2
    whitelist-message=Not on whitelist.
    auto-heal=true
    warplocation=warps.txt

    plugins=

    spawn-animals=true
    reservelist-txt-location=reservelist.txt
    online-mode=false
    pvp=false
    show-unknown-command=true
    save-homes=true
    admintxtlocation=users.txt
    max-players=5

    spawn-monsters=false

    data-source=flatfile
    motd=Type /help for a list of commands.
     
  12. Offline

    TnT

    remove spawn control plugin, let me try without that. And remove my IP please ;)
     
  13. Offline

    xDarKen

    okai!~ ready!
     
  14. Offline

    TnT

    I asked for it to be censored, because its also the IP of my private server ;)
     
  15. Offline

    xDarKen

    oh sry about that, my bad! [​IMG]
     
  16. Offline

    TnT

    Before I go further, fill this out and post answers here please. I need some of those questions answered.
    --- merged: Feb 14, 2011 2:12 AM ---
    I may be minecraft authentication servers right now too, I'm having trouble in any server I try.
     
  17. Offline

    xDarKen

    1. What OS are you using (Brand and version - Ex. Windows XP SP3)?
    -Windows 7 (6.1) Ultimate Edition (Build 7600)

    2. What architecture is the OS you are running (x64 or x86)?
    -x86

    3. What version and architecture is your java install? (Type: java -version in command prompt.)
    If you run any GNU/Linux, run this command to get all 3:
    -Version 6 Update 23 (build 1.6.0_23-b05)



    4. Are you running any wrappers? McMyAdmin, mcadmin, Hamachi, etc?
    -Hamachi? (But turned off)

    5. What build of CraftBukkit are you running? (do NOT say latest. Say the build number.)
    (Linux users: zgrep -i version craftbukkit.jar). Builds 267+ have the build number in the top of the server.log.
    -Craftbukkit version git-Bukkit-0.0.0-336-g76c531d-b262 (MC: 1.2_01)?
    Note: Updated to Craftbukkit version git-Bukkit-0.0.0-405-gf77e79e-b323 (MC: 1.2_01)

    Now that you've given us all the basics, now we get into the more advanced stuff. Note, if you haven't answered 1-5 yet, answering 6-10 will be almost pointless.

    6. What command are you using to run your CraftBukkit server?
    -@echo off
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar craftbukkit.jar
    pause? LOL (sorry i dont really understand wt r u exactly asking)

    7. What plugins are you running?
    -AfkKick,AntiBuild,BigBrother,EmptyBucket,Flashlight,Permission....i got quite a bit but i dont think its the plugin's problem...cuz it worked on hamachi...

    8. What error are you getting (post your server.log file if possible)?
    -2011-02-13 17:43:15 [INFO] [SpawnControl] Player TnTBass joined with 20 health.
    java.net.SocketException: Connection reset by peer: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at java.io.DataOutputStream.write(Unknown Source)
    at net.minecraft.server.Packet.a(SourceFile:113)
    at net.minecraft.server.NetworkManager.e(SourceFile:142)
    at net.minecraft.server.NetworkManager.d(SourceFile:15)
    at net.minecraft.server.NetworkWriterThread.run(SourceFile:85)
    2011-02-13 17:43:36 [INFO] TnTBass lost connection: disconnect.genericReason

    9. What have you tried already?
    -updating Java?

    10. Have you tried any of the things below?
    -Updated CraftBukkit

    Sorry dude i went to dinner >_>

    Server Status: Not working..
     
  18. Offline

    TnT

    It looks like your router is forwarded right, but it could be the Windows 7 firewall that's blocking you.

    Try adding the craftbukkit.jar into the firewall exception list. When I fired craftbukkit up on my Windows 7 x64 system, I got firewall prompts whenever Java tried to make a connection. I just had to click accept to allow my server to run.

    It is probably not your plugins, but you can easily shut down your server, rename your current plugins directory to plugins.old and start your server. This will fire it up with no plugins, so you can test. If it tests the same, you can put your plugins back (delete the new, empty plugins folder, and rename your plugins.old directory back to plugins)- they're not the problem.
    Windows 7 may handle external connections differently than LAN connections. Hence working locally, but not remotely.

    Also, make sure the IP you see on you server is the same as the IP you have listed in your router port forwarding setup, just to be sure.
     
  19. Offline

    xDarKen

    I reseted all the firewall rules which allows pop-ups asking me if i allow the program to have access to the internet. And i ran craftbukkit.jar and i allowed it.(Still doesnt work) Then i moved my "Plugins" file to desktop, and create a new file with the same name, which makes it doesnt load any plugins...still it doesnt work...i even tried totally turning off my firewall...no luck...
     
  20. Offline

    TnT

    Do you have any other firewall? One included with an antivirus? Can you restart your server and post the full server.log?
     
  21. Offline

    xDarKen

    k wait..btw i got no anti-virus
    --- merged: Feb 15, 2011 4:43 AM ---
    server ready
    --- merged: Feb 15, 2011 4:51 AM ---
    sorry but can u try again ? lol
    --- merged: Feb 15, 2011 4:53 AM ---
    2011-02-14 20:51:51 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-14 20:51:51 [INFO] Loading properties
    2011-02-14 20:51:51 [INFO] Starting Minecraft server on *:25565
    2011-02-14 20:51:51 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-02-14 20:51:51 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-02-14 20:51:51 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-02-14 20:51:51 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-02-14 20:51:51 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-405-gf77e79e-b323 (MC: 1.2_01)
    2011-02-14 20:51:51 [INFO] Preparing level "world"
    2011-02-14 20:51:51 [INFO] Preparing start region
    2011-02-14 20:51:52 [INFO] Preparing spawn area: 89%
    2011-02-14 20:51:53 [INFO] [AntiBuild] version [1.0] (Reborn) loaded
    2011-02-14 20:51:53 [INFO] [General] version [2.1] (Salvez) loaded
    2011-02-14 20:51:53 [INFO] [GodMode] version [1.2] is loaded!
    2011-02-14 20:51:53 [INFO] [iChat] version [1.5] (Maria Holic) loaded
    2011-02-14 20:51:53 [INFO] [Permissions] version [2.0] (Handler) loaded
    2011-02-14 20:51:53 [INFO] WorldEdit 3.2.2 loaded.
    2011-02-14 20:51:53 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-02-14 20:51:53 [INFO] WorldGuard 3.2.2 loaded.
    2011-02-14 20:51:53 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-02-14 20:51:53 [INFO] WorldGuard: Single session is enforced.
    2011-02-14 20:51:53 [INFO] WorldGuard: TNT ignition is PERMITTED.
    2011-02-14 20:51:53 [INFO] WorldGuard: Lighters are PERMITTED.
    2011-02-14 20:51:53 [INFO] WorldGuard: Lava fire is blocked.
    2011-02-14 20:51:53 [INFO] WorldGuard: All fire spread is disabled.
    2011-02-14 20:51:53 [INFO] [AfkKick] AfkKick plugin build 2 is enabled
    2011-02-14 20:51:54 [INFO] [BBROTHER] Permissions enabled.
    2011-02-14 20:51:54 [INFO] BigBrother 1.5 initialized
    2011-02-14 20:51:54 [INFO] Flashlight 1.0.3 initialized
    2011-02-14 20:51:54 [INFO] [FLASHLIGHT] Permissions enabled.
    2011-02-14 20:51:54 [INFO] flyRidgeFly version 1.3a is enabled!
    2011-02-14 20:51:54 [INFO] Minecart Mania Autocart version 0.54 is enabled!
    2011-02-14 20:51:54 [INFO] Minecart Mania Core version 0.86 is enabled!
    2011-02-14 20:51:54 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-02-14 20:51:54 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-02-14 20:51:54 [INFO] Persistence: Found Permissions, using it for permissions.
    2011-02-14 20:51:54 [INFO] Persistence version 0.38 is enabled
    2011-02-14 20:51:54 [INFO] SimpleColours 1.01 enabled
    2011-02-14 20:51:54 [INFO] Spells version 0.88 is enabled
    2011-02-14 20:51:54 [INFO] Wand version 0.62 is enabled
    2011-02-14 20:51:54 [INFO] Done! For help, type "help" or "?"
    2011-02-14 20:51:55 [INFO] TnTBass [/**.***.***.***:*****] logged in with entity id 90
    2011-02-14 20:52:02 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-02-14 20:52:55 [INFO] TnTBass lost connection: disconnect.endOfStream
    2011-02-14 20:53:01 [INFO] CONSOLE: Stopping the server..
    2011-02-14 20:53:01 [INFO] Stopping server
    2011-02-14 20:53:01 [INFO] [AntiBuild] version [1.0] (Reborn) disabled
    2011-02-14 20:53:01 [INFO] [General] version [2.1] (Salvez) disabled
    2011-02-14 20:53:01 [INFO] [GodMode] is disabled!
    2011-02-14 20:53:01 [INFO] [iChat] version [1.5] (Maria Holic) disabled
    2011-02-14 20:53:01 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-02-14 20:53:01 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-02-14 20:53:01 [INFO] SimpleColours 1.01 disabled
    2011-02-14 20:53:01 [INFO] Saving chunks
     
  22. Offline

    TnT

    You said you get the same problem - end of stream, when you don't have any plugins at all?
     
  23. Offline

    xDarKen

    2011-02-14 20:57:25 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-14 20:57:25 [INFO] Loading properties
    2011-02-14 20:57:25 [INFO] Starting Minecraft server on *:25565
    2011-02-14 20:57:25 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-02-14 20:57:25 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-02-14 20:57:25 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-02-14 20:57:25 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-02-14 20:57:25 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-405-gf77e79e-b323 (MC: 1.2_01)
    2011-02-14 20:57:25 [INFO] Preparing level "world"
    2011-02-14 20:57:25 [INFO] Preparing start region
    2011-02-14 20:57:26 [INFO] Preparing spawn area: 89%
    2011-02-14 20:57:26 [INFO] Done! For help, type "help" or "?"
    2011-02-14 21:06:08 [INFO] TnTBass [/*******] logged in with entity id 93
    2011-02-14 21:07:08 [INFO] TnTBass lost connection: disconnect.endOfStream
    2011-02-14 21:07:30 [INFO] CONSOLE: Stopping the server..
    2011-02-14 21:07:30 [INFO] Stopping server
    2011-02-14 21:07:30 [INFO] Saving chunks
    --- merged: Feb 15, 2011 5:08 AM ---
    did u go into into my server? lol
     
  24. Offline

    TnT

    I always time out trying to connect.
     
  25. Offline

    xDarKen

    hmm my server is not always on...even though u keep trying it pops up the same error...
    --- merged: Feb 16, 2011 3:33 PM ---
    so...any idea?
     
  26. Offline

    TnT

    This entire situation is weird. I can connect to the server, but it seems the server isn't sending any data back to my client.

    Lets go back to basics, shall we? I want to see if we can get a connection on a straight up vanilla MC server. (I just tried connecting again, no luck - timed out this time).

    What I want you to do:
    Stop your Craftbukkit server.
    Create a brand new directory. We're going to try getting a vanilla server running.
    Download the minecraft_server.jar from minecraft.net and place it in that directory.
    Create, a new batch file in that new directory, it should look like this:
    Code:
    @echo off
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar minecraft_server.jar nogui
    pause?
    Run that batch file to start up your server. Let me know and I'll try to connect again. This will narrow down any problems with CraftBukkit, config files, plugins, etc. If this doesn't work, it has to be something with your network.

    What kind of TELUS connection do you have?
     
  27. Offline

    xDarKen

    ok, i just tried it and it doesnt seem to work, works locally

    when i type in 99.199.176.233:25565 it says....Failed to connect to the server Connection timed out: connect

    and this is the connection i have.. telus - high speed turbo http://www.telus.com/content/internet/highspeed/high-speed-turbo.jsp

    and this is my router : http://gigaset.com/hq/en/product/GIGASETSE567WLANDSL.html

    hmm...do u use messenger such as MSN? if u do please add me : [email protected]

    does hamachi do some other things other than port-forwarding? this is weird how hamachi can do it i cant~
    --- merged: Feb 17, 2011 3:09 AM ---
    Server status : Offline
     
  28. Offline

    kjab

    Hamachi creates a virtual private network. You have to have other people connect to a network you setup.
     
  29. Offline

    xDarKen

    hmm...okai....btw i just saw kjab8706 tried to join my server but timed out...i assume that was u? :D
    any ideas how to fix it?
     
  30. Offline

    kjab

    Have you paid for minecraft? also get a timeout error when trying to connect
     
Thread Status:
Not open for further replies.

Share This Page