Solved **FAILED TO BIND TO PORT

Discussion in 'Bukkit Help' started by FireBlade210, Jul 16, 2012.

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

    FireBlade210

    What does this mean, im trying to run bukkit plug ins with a friend, and i created the server and i dont, know why or how i can let him connect to my server, i edited my server properties to my ip address, but when i go to launch my server, it cannot bind it to port, can someone help me troubleshoot it this? I attached a screenshot for clarification.
    http://i.imgur.com/zH5We.jpg

    Thanks FireBlade
     

    Attached Files:

    • cmd.jpg
      cmd.jpg
      File size:
      60.7 KB
      Views:
      41
  2. Offline

    Fuzzwolf

    You probably didn't close out of your server properly before. Navigate to start, type in "task manager," navigate to processes and end "java.exe"
     
  3. Offline

    number1_Master

    You forwarded your port wrong.
    In the server.properties, keep server-port to 25565 and keep server-ip BLANK!
    If your port is not forwarded, you will have to do that next.
     
  4. Offline

    FireBlade210

    So if I keep my ip blank how people connect to me?
     
  5. Offline

    hawkfalcon

    Your external ip. Whatismyip.com When its blank it automatically uses that.
     
  6. Offline

    TnT

    Having any ip in your server-ip= line ONLY matters if you have multiple IP addresses on your system, and you want the server to listen on a single IP only.
     
    MikeA likes this.
  7. Offline

    FireBlade210

  8. Offline

    jacklin213

    FireBlade210 have your portforwarded correctly? is the ip your connecting to your internal ip?
    have you checked to c if your port:25565 is accualy open?
     
  9. Offline

    FireBlade210

    jacklin213 How do I check if I did correctly? whats my internal ip? How do I check if my port is open?

    I'm new to this as you can probably tell
     
  10. Offline

    c0mp

    You can try tickling the minecraft port from http://canyouseeme.org/
    Click Start, type 'cmd' (no quotes) and hit Enter. Then type 'ipconfig' (no quotes) and hit Enter. Look for your IPv4 address. It should start with 192, 10, or 172. That's your internal IP address, and the address that you need to forward the port to from your router's configuration.
    See above website.

    And remember, leave the server-ip field blank!
     
  11. Offline

    FireBlade210

    So which ip do people use to connect to me my Ipv4 or my ip from, whatismyip.com
     
  12. Offline

    c0mp

    People who are connected to the same router as the server (people in the same house, possibly neighbors if they can pick up your wifi) would use your internal IP address. People who are connected from outside the router (anywhere else in the world except in the same house) would use your external IP address, from whatismyip.com.
     
  13. Offline

    jacklin213

    to test if your ports are working this is the site made to test out ports like minecraft
    http://www.ipfingerprints.com/portscan.php
    paste your exturnal ip into the slot n put the ports as 25565
    CLICK ON ADVANCE AND TURN PING TYPE TO "DONT PING"
    if it works it should say

    Host is up.
    PORT STATE SERVICE

    25565/tcp open minecraft
    or the STATE will say
    Host is up.
    PORT STATE SERVICE

    25565/tcp filtered minecraft

    the service is what your named your ports to b
     
  14. Offline

    FireBlade210

    i went to canyouseeme.org, and it said my port was closed, and my connection was refused, so how do i fix it?

    And now when im trying to start my server i get an error saying "Could not reserve enough space for object heap"
     
  15. Offline

    jacklin213

    try what i told u
     
  16. Offline

    c0mp

    It might be closed because the server isn't starting up due to the object heap error. Install any plugins recently? Or have you foxed with the startup command in your .bat file? You might have some java options that aren't playing nicely with your system.
     
  17. Offline

    jacklin213

    ^ that website comes up with errors time to time i no my port is open because ive tested it and it works but canyouseeme.org gives me this
    Error: I could not see your service on (my ip) on port (25565)
    Reason: Connection timed out

    reason being that this website responds to what is pinged back at them but the port 25565 is only ment to be pinged to and not pinged back

    where as this website http://www.ipfingerprints.com/portscan.php allows you to chose the option dont ping so you can get the accual correct info either this

    Host is up.

    PORT STATE SERVICE

    25565/tcp filtered minecraft

    or this

    Host is up.

    PORT STATE SERVICE

    25565/tcp open minecraft
     
  18. Offline

    FireBlade210

    c0mp Ok, so i logged into, my router and have tcp and udp open, but it still says my port is closed on ipfingerprints.

    Here is what i have done http://imgur.com/RMutN
     
  19. Offline

    jacklin213

    to my understanding u leave out the ip adress forwarded for some modems try that
     
  20. Offline

    c0mp

    I don't think that's your LAN (or internal) IP address, it looks more like an external IP. You need to forward the port to your internal IP address.
     
  21. Offline

    jacklin213

    good point didnt notice that there
     
  22. Offline

    FireBlade210

    Ok so if I go into cmd, type ipconfig is it my ipv4 address?
     
  23. Offline

    jacklin213

  24. Offline

    FireBlade210

    Ok, I changed it to my Ipv4 address, and then when i went to ipfingerprints. it says STATE: FILTERED, whats that mean?
     
  25. Offline

    jacklin213

    it means its open. if it says filtered or open BOTH of it mean open
     
  26. Offline

    FireBlade210

    Thank you c0mp & jacklin213 i finally got it running which has been for about two days! I cannot explain my gratitude for all your help, I've never had such in depth, fast help with anything before this.

    Thank you all :)
     
  27. Offline

    jacklin213

    np ^o^
     
    GTX_680 likes this.
  28. Offline

    eiightlifes

    ive done all of this and my friends still cant connect whats wrong with this
     
Thread Status:
Not open for further replies.

Share This Page