Solved Craftbukkit server

Discussion in 'Bukkit Help' started by Akunji, Jan 25, 2012.

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

    Akunji

    Hello,

    I started with hosting a minecraft server yesterday and everything was working.
    Now today i started working with Craftbukkit and whenever i start the server, it only works local.
    I have everything the same as the normal minecraft server, wich works fine.
    Yet this craftbukkit server can't be played over the internet.

    Any idea's? Its going through the same port (25565) wich i've port forwarded and everything should be working fine.
     
  2. Offline

    iPhysX

    Can you please post your server.properties file contents here?
    And also a screenshot of the folder that you have your craftbukkit server inside?
    Screenshot is not required, but could help.
     
  3. Offline

    Akunji

    Heres the server.properties

    When starting a normal minecraft server, putting 192.168.1.101 worked.
    Now it doesn't only to host it local, when i remove it it still doesn't work.


    Code:
    #Minecraft server properties
    #Wed Jan 25 20:17:12 CET 2012
    allow-nether=true
    level-name=Aquila City
    enable-query=false
    allow-flight=true
    server-port=25565
    level-type=DEFAULT
    enable-rcon=false
    level-seed=456
    server-ip=192.168.1.101
    spawn-npcs=true
    white-list=false
    spawn-animals=true
    online-mode=false
    pvp=true
    difficulty=1
    gamemode=1
    max-players=20
    spawn-monsters=true
    view-distance=10
    motd=A XenonCraft Server
    
    [​IMG]
     
  4. Offline

    iPhysX

    Take the IP out of the server.properties file.
    Can you please also post the contents of your CraftBukkit Starter.bat?
     
  5. Offline

    Akunji

    Taking out the IP didn't change a thing,,

    Starter.bat content:

    Code:
    @ECHO OFF
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64"  "%ProgramFiles%\Java\JRE7\bin\java.exe" -Xms1024M -Xmx2048M -jar "%~dp0craftbukkit.jar"
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86"  "%ProgramFiles%\Java\JRE7\bin\java.exe" -Xincgc -Xmx1024M -jar "%~dp0craftbukkit.jar"
     
  6. Offline

    iPhysX

    I'm not very good at all this sort of stuff..

    But why aren't you just having a start.bat

    with..
    Code:
    @echo off
    java -Xms1024M -jar craftbukkit.jar nogui
    Thats how i run mine?
     
  7. Offline

    Akunji

    Did that but didn't change a thing.
     
  8. Offline

    iPhysX

    On the other PC that is trying to access the server, they are definately using the correct IP for your machine?
    Which is at http://whatismyip.com/
    And you are 100% definately portforwarding to the correct machine on the network?
    I have to ask, i'm a little confuzzled by this. I see no reason why it shouldn't be working
     
  9. Offline

    Akunji

    What i get when starting the minecraft server.

    Code:
    09:36 PM [INFO] [Pail] Setting up window...
    09:36 PM [INFO] [Pail] Pail 0.7.5 Enabled
    09:36 PM [INFO] Preparing level "Aquila City"
    09:36 PM [INFO] Default game type: 1
    09:36 PM [INFO] Preparing start region for level 0 (Seed: 456)
    09:36 PM [INFO] Preparing start region for level 1 (Seed: 8992121074367907850)
    09:36 PM [INFO] Preparing start region for level 2 (Seed: 8992121074367907850)
    09:36 PM [INFO] [CraftBukkitUpToDate] Loading CraftBukkitUpToDate v2.7.2.
    09:36 PM [INFO] CraftBukkitUpToDate version 2.7.2 is enabled!
    09:36 PM [INFO] [HomeSpawnPlus] Loading HomeSpawnPlus v1.3.1.
    09:36 PM [INFO] [PailPlus] Loading PailPlus v0.2 beta.
    09:36 PM [INFO] PailPlus v0.2 beta enabled
    09:36 PM [INFO] Server permissions file permissions.yml is empty, ignoring it
    09:36 PM [INFO] Done (1,248s)! For help, type "help" or "?"
    09:36 PM [INFO] CButD: CraftBukkit is up to Date
    09:36 PM [INFO] The automatic update-Check only work every 6 hours, the last check was 93 minutes ago


    Yes its port forwarded and the IP is correct. The odd thing is that when i start a normal minecraft server without bukkit, it works. Everything works with the same server properties etc.
     
  10. Offline

    iPhysX

  11. Offline

    Akunji

  12. Offline

    Tyler_Tsero

    When you can't connect what error is it giving? Are there errors on the server side? or Client side?
     
  13. Offline

    Akunji

    Server side everything seems to work fine, when trying to connect with client it is not able to connect.
    First server is when going on it from another computer.
    Second server is when im going on it locally.


    [​IMG]
     
  14. Offline

    Tyler_Tsero

    Could it possibly be your firewall? or ports didnt forward correctly?
     
  15. Offline

    Akunji

    Ive already set rules for the firewall and forwarded the port correctly. This i know since running a vanilla minecraft server works without any problem.

    herpaderp, nobody able to fix this?

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

    Yudaz

    I bet your Ipv4 adress has changed!?

    When you shut down you are disconnecting from your internet, one number nearer "2" will be avaiable, and when someone connects to the internet, they can get that number you had before you disconnected and you wont get it if you connected again, so the router gives you another one... (This is called IPv4 adresses)

    - Your portforwarding isnt forwarded to your computer anymore since you disconnected from the internet, so when a player tries to connect it goes like this:
    From the players computer -> On the internet -> Your IP=Your Internet -> Your Router -> Your Portforwarding=To another computer or maybe nothing (since you dont got the same IPv4 adress as you had when you portforwarded the port) -> Another computer than yours or maybe nothing=No server on

    So you see, you need to make a local Ip reservation... ;)

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

    Akunji

    Ive already set a local ip reservation in the DHCP part on my Router before.
    Its set to 192.168.1.101 and it didn't change.

    Any other tips?
     
  18. Offline

    Yudaz

    You got TeamViewer? - I can take a look at it... But it has to happen fast!
     
  19. Offline

    Akunji

    herp a derp

    EDit:

    Problem is in the firewall, ill look at it myself.
    Thanks for the help
     
  20. Offline

    christiaan_m

    i have the same problem can somebody help me i got teamvieuw
     
  21. Offline

    Droffo

    Signed up just for this thread because I am having this problem, got no idea what it is or what is causing it, program may be conflicting with the bukkit program. I have ALOT of useless crap on my computer. My computer is able to run a "vanilla" server from www.minecraft.net online without a problem. I'd really like to get this resolved! Thanks.

    Okay! Not to worry, 10 minutes after posing that I worked it out! Just turn your firewall off!
    Jesus Christ i feel like a dickhead. ::D Thanks for the help anyway guys!

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

    s32ialx

    are you going to allow this post above me to actually be the solution... "turn off your firewall" that screams insecure server.

    based on troubleshooting similar things with almost anything server wise...
    yes it's a firewall issue

    you need to make sure you set:

    1.Windows firewall exceptions correctly.
    2.(Hopefully you have a 2)Your routers NAT (Port Forward/Port Range Forwarding) set properly.

    Sources: Been Certified since 2005 tinkering since 94.

    Edit:
    Thought I would mention if you plan to go live and get a Domain name "www.example.com/mc.example.com" you need to make sure you point the proper cnames to the correct EXTERNAL IP address which you can find at whatismyip.com your INTERNAL IP
    "192.168.(0,1,2).101" needs to be the server properties and the forwards in the router..
     
Thread Status:
Not open for further replies.

Share This Page