Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

"**** FAILED TO BIND TO PORT!"


  • Please log in to reply
5 replies to this topic

#1

MadDog7736

Posted 18 June 2012 - 11:08 PM

Hello, today I tried creating a bukkit server on my laptop.

After port forwarding and all of that, I ran the .bat file, and got this;


182 recipes
27 achievements
Starting minecraft server version 1.2.5
Loading properties
server.properties does not exist
Generating new properties file
Starting minecraft server on *:25565
**** FAILED TO BIND TO PORT!
The exception was: java.net.BindException: Address already in use: JVM_Bind
Perhaps a server is already running on that port?



Last year, I set up a bukkit server on my desktop, but now I have this laptop, and I wanted to create a new server that doesn't need Hamachi.

I tried deleting all of my server files on my desktop, and still no luck.


Any ideas?

Register or log in to remove.

#2

MadDog7736

Posted 19 June 2012 - 08:35 AM

Anyone?

#3

Fortifier41

Posted 19 June 2012 - 11:45 AM

Do you have a Firewall running? Firewalls block ports even if you have Port-Forwarded and have you port forwarded to the correct Internal IP Address?
Posted Image

#4

Wuptrooper

Posted 19 June 2012 - 11:54 AM

same problem here :(

#5

LycaonX
    LycaonX

    Zombie Killer

  • Members
  • 193 posts
  • Minecraft: LycaonX

Posted 19 June 2012 - 05:23 PM

Check your server.properties file and ensure that there is no ip address after server-ip=

A normal user should never be messing with the ip binding, as it's meant for server operators on multihomed servers.

Second, open task manager and kill off any "javaw.exe" processes.  Keep in mind this WILL instantly terminate the process so if you have a single player world open, take care to save and exit first.

If those do not work, open a command prompt and type or paste in:  netstat -ap TCP | find "25565"

This will give you a LONG list of listening and established ports as well as the exe name of the process that has the port open.  Look for a line simmilar to the following, and if it is "java.exe" you likely have a server running even though there's no GUI.  If it is another app, you'll need to let me know what it is before I can tell you if it's safe to kill the process with Task Manager.

TCP    0.0.0.0:25566   YOURCOMPUTERNAME:0     LISTENING
[java.exe]
Posted Image

#6

Link_Lofter
  • Location: Edmonton
  • Minecraft: CaptianOlimar
  • Xbox:Link Lofter

Posted 27 October 2012 - 11:56 PM

Are you doing a VPN server (Hamachi) or are you port-forwarding?