I can't get my IP! D:

Discussion in 'Bukkit Help' started by ArTiC_Punisher47, Mar 31, 2012.

Thread Status:
Not open for further replies.
  1. I went to www.whatismyip.com and came up with 71.211.144.126
    When I went to put it in I kept getting this,
    182 recipes
    27 achievements
    09:17:55 [INFO] Starting minecraft server version 1.2.4
    09:17:55 [INFO] Loading properties
    09:17:55 [INFO] Starting Minecraft server on 71.211.144.126:65565
    09:17:55 [WARNING] **** FAILED TO BIND TO PORT!
    09:17:55 [WARNING] The exception was: java.lang.IllegalArgumentException: Port value out of range: 65565
    09:17:55 [WARNING] Perhaps a server is already running on that port?
    >
    What do I do??

    I am using a Mac
     
  2. Offline

    AlexanderLS

    Use "ps -A" and look for all Javas
    kill all of the java occurrences. "kill pid#"
    If you still fail to start-up just issue a "reboot"
    EDIT:
    If the reboot fails
    check your server configs. to make sure you have right ip set.
    Also ping a working ip that uses 65565 for example ping 127.0.0.1:65565
    If you fail to ping like above consider using another port as your provider may block 65565.

    Good Luck
     
    sverre26 likes this.
  3. Offline

    flamedaces

    put your local ip (192.168.1.x) when port forwarding and for the server-ip.
     
  4. Offline

    nickrak

    Leave server-ip blank, it is only for running multiple servers. Putting an address there just complicates things.

    Also 65535 is the highest port number available.
     
    Orcworm likes this.
  5. I want it to be an online server.

    I've tried 15565, 25565, 35565, 45565, 55565, etc.
    None of them are working for me. They work fine until I put in my IP.

    I also don't know what you mean by use ps -A
    And I don't understand what you mean by 'Kill pid#'
    Sorry D: I'm not very good with tech talk :/

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

    sverre26

    On my network i use to host from 10.0.0.1

    Is'nt it the same for you?

    You can try witout a ip in the server.propeties
    That works for me and i have'nt typed an ip there

    If you Buy an domain you only ned to poin the domain to your ip

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

    wizzy86

    Take away the numbers from the IP in the server.properties. It will keep you online. If you put it in there, things get messy.

    Also, did you forward your ports?
     
  8. I tried using port map. I ran a server before on the same IP and I think that's what's causing the problem, but I can't figure out how to delete that server completely so I can use this one.

    I want it to be a mulitplayer server. And I don't have the money to buy a domain. Can I get a new one for free?

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

    blackvoid

    You don't even need a domain name to host a server. It just makes it easier to connect the server server becaues you just need to remember ex. MyMinecraftServer.net instead of the IP.
     
  10. Wait. So if I type that in the IP it will work? I went and got a new host called anonymouscraft.zapto.org
    But it doesn't work when I put it in server properties.
     
  11. Offline

    nickrak

    To reiterate again... Do NOT put anything value for the SERVER_IP property. Leave it blank.
     
    wizzy86 and Orcworm like this.
  12. If I don't put in the server_ip. How do my friends join my server?
     
  13. Offline

    Orcworm



    Why ask for help if you're going to deny those who actually give you the correct answer?
     
  14. Because I know that it runs when I don't put in an IP. But that won't let my friends on :(
     
  15. Offline

    andrewpo

    Run command
    Code:
    killall -9 java
    in terminal.

    DO NOT change the "server-ip" bit of your sever.properties file, you don't need to. End of.
    Leave that line as "sever-ip=" with nothing after the equals sign.
     
  16. Do I type killall -9 java in my server command? Or just terminal in general?
     
  17. Offline

    andrewpo

    In your mac terminal.
     
  18. This is what I got:

    david-pecks-imac-3:~ superdnm96$ killall -9 java
    No matching processes belonging to you were found
    david-pecks-imac-3:~ superdnm96$
     
  19. Offline

    andrewpo

    Ok, run these commands
    Code:
    sudo su
    killall -9 java
    exit
    logout
    The sudo su command will prompt you for your password, you will need to be an administrator of your computer for this to work.
     
  20. Should I have gotten this?:

    david-pecks-imac-3:~ justin$ sudo su

    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.

    To proceed, enter your password, or type Ctrl-C to abort.

    Password:
    sh-3.2# killall -9 java
    No matching processes were found
    sh-3.2# exit
    exit
    david-pecks-imac-3:~ justin$ logout

    [Process completed]
     
  21. Offline

    andrewpo

    Well that should have fixed the failed to bind to port error.... wait hang on, 65565 is out of the port range.

    Change that to 25565 or if you insist on having a non standard port, something like 35565 or 25566.
     
  22. I did

    I'm still getting this:

    david-pecks-imac-3:~ justin$ /Users/justin/Desktop/craftbukkit/server.command ; exit;
    182 recipes
    27 achievements
    16:35:48 [INFO] Starting minecraft server version 1.2.4
    16:35:48 [INFO] Loading properties
    16:35:48 [INFO] Starting Minecraft server on 75.166.141.25:25565
    16:35:48 [WARNING] **** FAILED TO BIND TO PORT!
    16:35:48 [WARNING] The exception was: java.net.BindException: Can't assign requested address
    16:35:48 [WARNING] Perhaps a server is already running on that port?
    >

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

    andrewpo

    Did you take your server ip out of the server.properties file like I said?

    Please post an updated sever.properties file wrapped in code tags.
     
  24. The server runs just fine if I do that. But I don't know how to get my friends on if I do that

    #Minecraft server properties
    #Fri Mar 30 21:30:54 MDT 2012
    allow-nether=false
    level-name=world
    enable-query=false
    allow-flight=true
    server-port=25565
    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=false
    difficulty=1
    gamemode=0
    max-players=60
    spawn-monsters=true
    generate-structures=true
    view-distance=5
    motd=I can't find my Ip :(((

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

    andrewpo

    To clarify, you do not need to set your server-ip setting in server.properties unless you have a really complex server setup, people can still connect to your server (providing you've forwarded ports and allowed java and port 25565 through any firewalls you may have) using your IP address.

    Server-ip will do nothing for you, so leave it blank to avoid problems.
     
  26. So if I do not need a server-ip. What should I do to port forward my router, and what should I tell people to type under IP when they want in?
     
  27. Offline

    andrewpo

    What router do you have? And the IP they'd type is your IP which you mentioned as being 71.211.144.126
     
  28. How do I find what my router is?
     
  29. Offline

    andrewpo

    Try looking at it, look maybe at the side or under it for a label with a brand and model number.

    Don't just say 'netgear' for example, say 'netgear DG834PN' - make sure you include the model number, as it is important.

    The router is the part of your network which all your devices should eventually connect to using Ethernet (wired) or WiFi (wireless), it's usually a little box connected to a phone line and power supply.

    Ask the person who set up your network where to find it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  30. It's the Vegar 2910
     
Thread Status:
Not open for further replies.

Share This Page