PLEASE HELP'Perhaps a server is already running on that port'

Discussion in 'Bukkit Help' started by aconnor10, Aug 15, 2012.

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

    aconnor10

    Hello.
    I have a very popular server but recently i loaded up my bukkit console and this error came up:
    [WARNING] **** FAILED TO BIND TO PORT!
    [WARNING] The exception was: java.net.BindException: Cannot assign requested address:JVM_BIND
    [WARNING] Perhaps a server is already running on that port ?

    So i have tried everything - Removing the ip from server.properties the console works fine but then i cnt get on my server it says: Connection : refused

    *NOTE* I have portforward my bukkit and it was working untill today..*

    I have searched on every site but still no answer :(
    Please help
    Many thanks -Adam
     
  2. Offline

    Xmillsa

  3. Offline

    aconnor10

    That really didnt solve my problem
    Thanks anyway
     
  4. Offline

    Xmillsa

    So you've tried both in one minute?
    1) Restarted your PC
    2) Ended all java related processes

    If so... nice fast pc you've got there.

    Anyway, you could also try restarting your router.
    Another option would be to clear your DNS cache. (although this should technically happen on reboot)

    *Off to find command to list all ports being used....*
     
  5. Offline

    aconnor10

    hmm yes tried it all
    I had my server fully running for about 4 month and it suddenly decides to not load

    I also have a fast computer..

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

    Jumla

    Do you have something like a VPN or HideMyIP service active?
     
  7. Offline

    aconnor10

  8. Offline

    Xmillsa

    Try opening a cmd prompt and type: netstat -b
    Copy and paste the output, it might take a while.

    If it's a lot paste it to: http://pastebin.com/

    Of if it doesn't even fit in the CMD prompt, try
    netstat -b > %USERPROFILE%\Desktop\ports.txt

    It'll create a ports.txt file on your desktop once complete. (It'll stay on a blinking cursor for a while...)
     
  9. Offline

    aconnor10

    it says its not recognised

    Hmm this is annoying and btw i had a hamachi server before creating this bukkit would that effect anything?

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

    Xmillsa

    What OS are you using?

    Hamatchi... potentially but I doubt it... could try removing hamatchi though.
     
  11. Offline

    SargentGuava

    Well ive had this problem and i realized i was already running a server on that port. As in the server was already up. that might not be the problem you are having just trying to help
     
  12. Offline

    aconnor10

    yeah i removed hamachi

    How did you solve it?

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

    Xmillsa

    They closed the server :p

    So what OS? XP? Win7? MacOS?
    If you're using a Windows machine, there is no reason the command netstat would not work.
     
  14. Offline

    aconnor10

    windows 7
     
  15. Offline

    SargentGuava

    Well I had to restart my internet router and that seemed to fix it (not a reset a restart)
     
  16. Offline

    aconnor10

    'Cannot find path specified'

    Hmm thats 1 thing i havent tried
    restarting my router...

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

    Xmillsa

    Then yes, netstat as a command does exist.

    1) click start.
    2) type cmd in search.
    3) right click on cmd then run as Administrator.
    4) type netstat -b > %USERPROFILE%\Desktop\ports.txt
    5) look on your desktop for ports.txt


    EDIT: You need to stop replying in such small sentences so quickly... it's hard to keep up with helping you...

    In what way is the path not found? (When does this error show?)
     
  18. Offline

    aconnor10

    Its the system cannot find specified path Hmm are there anyspaces in there?
     
  19. Offline

    Xmillsa

    There are after netstat

    Just type netstat, make sure you are running as admin and it should output something...

    Btw netstat -b (when working) allows you to see what program or process is using what port.
    So you'll find out what's using port 25565. (If it works :p)
     
  20. Offline

    aconnor10

    hmm it comes up with Proto Local Address Foreign Address and state with a load of ips
    when i type netstat -b
     
  21. Offline

    123myth

    i also have same problem i have portforwarded but the computer acts like i didnt do anything
    when i type mt external ip it dous not work only the ipv4 ip work which is lan
    so annoying cant find help anywhere
     
Thread Status:
Not open for further replies.

Share This Page