[INFO] Starting minecraft server version Beta 1.2_01
[WARNING] **** NOT ENOUGH RAM!
[WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[INFO] Loading properties
[INFO] Starting Minecraft server on 76.116.32.138:25565
[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?
i get this error and im not running another server.. any ideas?
I'm talking about for the FAILED TO BIND PORT! not NOT ENOUGH RAM! by the way.
If you just run 'ipconfig' or look at your network connection status, does your IP address really say 76.116.32.138, or did you get that from going to 'whatismyip.com' or something?
You shouldn't get a 'failed to bind port' error because of a port forwarding situation. (Port forwarding won't affect your ability to bind a port at all, just outside connections and their ability to send anything to that port.)
If your computer's IP address is really something like 192.168.0.101, is it possible you should have that in the config instead? Your router's job is to know that things sent to its public IP (76.116.32.138) on a certain port (25565) get translated (NAT) and forwarded (port forwarding) to your computer at its actual private IP address (gotten from ipconfig.)
I guess this depends what the setting in the config does... If it tells the outside world where to find your minecraft server or something, then I guess it would be the public IP it needs. Though, "failed to bind port" is usually consistent with what I said above, it's looking for a network adapter with address 76.116.32.138 on your system and not finding one, and thus failing to bind its listener to that port on that address.
The other possible situation is some other process has already bound to that port. You'd get an error like that if you tried to run two different web servers at once on the same port. One would bind port 80 and the other would try to do the same and get a conflict, and "fail to bind the port."
BTW, if you have to add your computer's IP address to a file, I suggest you make sure it always gets the same IP address. This can be done in your router's DHCP configuration, by adding a reserved IP address for your computer's MAC address. Otherwise it will change randomly, depending what other devices you turn on first and whether you had visitors over with their iphones / laptops, and your port forwarding will break. If I reboot my router and turn things on in a different order I can get anywhere from .101 to .108.
This should go outside of the DHCP pool range, so if your router starts assigning addresses at 192.168.1.100, give your computer a reserved address of 192.168.1.90 or something.
BTW this is coming from a networking background not a minecraft server background... I'm saying what this error usually means for other apps. It's a fairly standard error message, but the minecraft config file you mention I'm not familiar with.
Open a command prompt as Administrator (right click -> Run as Administrator)
Type netstat -a -b
Wait a while for it to finish, it will take a bit. Look for anything running on port 25565. If you see something, that process is probably conflicting when minecraft server tries to bind that port, giving you that error.
You just told me your troubled car runs on gasoline and has wheels. I still know almost nothing about what you are doing and what you have tried.
Which version of Windows 7? Home? I can't figure out why you would not see the "Run as administrator" option or be able to use the other shortcut to gain admin privilege if you're using the same OS as I am.
How are you launching? Have you addressed the memory warning by creating a shortcut or a batch file and using the settings it suggests in the error message? Are you running a firewall?
Are you using a router? What is your computer's internal IP address? What is your network's external IP address?
Which Java are you using to launch? Have you installed 64-bit Java or are you using the one from "Program Files (x86)"? Figure out what version of Java you have installed, or just go update it for purpose of good measure.
If you're warnings say "[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?"
...Or something like that, what this means is... there is a service already running
I think this should fix it, it worked for me!!!!!
If your port is still in fact :25565 and you haven't fu#$ed with it, this should work
You need to run command prompt (start > run > (type command) cmd > enter
In the command prompt, type the following (with your server NOT running) netstat -a -n -o (make sure to include spaces, and use "o" not "zero")
You will get a big list of IP addresses... you're looking for any and all of the ones that have port :25565 next to the IP.
Then, write down the PID number that matches that IP address
Now, ctrl+alt+del to open task manager.
In task manager > click the processes tab > click view (at the top) > select colums > check PID (process identifier) > click Ok
Sort your Processes in Task Manager by PID then kill the PID numbers you had to write down.
Start your server, and all should be well.
***NOTE***
Your ports and all that **** still need to be forwarded, this is AFTER you have done all of that stuff... You will likely need to do this process EVERY TIME you restart your PC.
If you just run 'ipconfig' or look at your network connection status, does your IP address really say 76.116.32.138, or did you get that from going to 'whatismyip.com' or something?
You shouldn't get a 'failed to bind port' error because of a port forwarding situation. (Port forwarding won't affect your ability to bind a port at all, just outside connections and their ability to send anything to that port.)
If your computer's IP address is really something like 192.168.0.101, is it possible you should have that in the config instead? Your router's job is to know that things sent to its public IP (76.116.32.138) on a certain port (25565) get translated (NAT) and forwarded (port forwarding) to your computer at its actual private IP address (gotten from ipconfig.)
I guess this depends what the setting in the config does... If it tells the outside world where to find your minecraft server or something, then I guess it would be the public IP it needs. Though, "failed to bind port" is usually consistent with what I said above, it's looking for a network adapter with address 76.116.32.138 on your system and not finding one, and thus failing to bind its listener to that port on that address.
The other possible situation is some other process has already bound to that port. You'd get an error like that if you tried to run two different web servers at once on the same port. One would bind port 80 and the other would try to do the same and get a conflict, and "fail to bind the port."
BTW, if you have to add your computer's IP address to a file, I suggest you make sure it always gets the same IP address. This can be done in your router's DHCP configuration, by adding a reserved IP address for your computer's MAC address. Otherwise it will change randomly, depending what other devices you turn on first and whether you had visitors over with their iphones / laptops, and your port forwarding will break. If I reboot my router and turn things on in a different order I can get anywhere from .101 to .108.
This should go outside of the DHCP pool range, so if your router starts assigning addresses at 192.168.1.100, give your computer a reserved address of 192.168.1.90 or something.
BTW this is coming from a networking background not a minecraft server background... I'm saying what this error usually means for other apps. It's a fairly standard error message, but the minecraft config file you mention I'm not familiar with.
i changed my ip to static and put that as my server ip and now its working!!!
If you're warnings say "[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?"
...Or something like that, what this means is... there is a service already running
I think this should fix it, it worked for me!!!!!
If your port is still in fact :25565 and you haven't fu#$ed with it, this should work
You need to run command prompt (start > run > (type command) cmd > enter
In the command prompt, type the following (with your server NOT running) netstat -a -n -o (make sure to include spaces, and use "o" not "zero")
You will get a big list of IP addresses... you're looking for any and all of the ones that have port :25565 next to the IP.
Then, write down the PID number that matches that IP address
Now, ctrl+alt+del to open task manager.
In task manager > click the processes tab > click view (at the top) > select colums > check PID (process identifier) > click Ok
Sort your Processes in Task Manager by PID then kill the PID numbers you had to write down.
Start your server, and all should be well.
***NOTE***
Your ports and all that **** still need to be forwarded, this is AFTER you have done all of that stuff... You will likely need to do this process EVERY TIME you restart your PC.
[WARNING] **** NOT ENOUGH RAM!
[WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[INFO] Loading properties
[INFO] Starting Minecraft server on 76.116.32.138:25565
[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?
i get this error and im not running another server.. any ideas?
I'm talking about for the FAILED TO BIND PORT! not NOT ENOUGH RAM! by the way.
You shouldn't get a 'failed to bind port' error because of a port forwarding situation. (Port forwarding won't affect your ability to bind a port at all, just outside connections and their ability to send anything to that port.)
If your computer's IP address is really something like 192.168.0.101, is it possible you should have that in the config instead? Your router's job is to know that things sent to its public IP (76.116.32.138) on a certain port (25565) get translated (NAT) and forwarded (port forwarding) to your computer at its actual private IP address (gotten from ipconfig.)
I guess this depends what the setting in the config does... If it tells the outside world where to find your minecraft server or something, then I guess it would be the public IP it needs. Though, "failed to bind port" is usually consistent with what I said above, it's looking for a network adapter with address 76.116.32.138 on your system and not finding one, and thus failing to bind its listener to that port on that address.
The other possible situation is some other process has already bound to that port. You'd get an error like that if you tried to run two different web servers at once on the same port. One would bind port 80 and the other would try to do the same and get a conflict, and "fail to bind the port."
BTW, if you have to add your computer's IP address to a file, I suggest you make sure it always gets the same IP address. This can be done in your router's DHCP configuration, by adding a reserved IP address for your computer's MAC address. Otherwise it will change randomly, depending what other devices you turn on first and whether you had visitors over with their iphones / laptops, and your port forwarding will break. If I reboot my router and turn things on in a different order I can get anywhere from .101 to .108.
This should go outside of the DHCP pool range, so if your router starts assigning addresses at 192.168.1.100, give your computer a reserved address of 192.168.1.90 or something.
BTW this is coming from a networking background not a minecraft server background... I'm saying what this error usually means for other apps. It's a fairly standard error message, but the minecraft config file you mention I'm not familiar with.
Open a command prompt as Administrator (right click -> Run as Administrator)
Type netstat -a -b
Wait a while for it to finish, it will take a bit. Look for anything running on port 25565. If you see something, that process is probably conflicting when minecraft server tries to bind that port, giving you that error.
Try holding ctrl+shift when you launch the command prompt. That's a shortcut for running the program as administrator.
If you're on XP you don't have to run it as administrator because you probably already have admin privs.
this page explains better:
http://www.sevenforums.com/tutorials/11841-run-administrator.html
Is it 64-bit or 32-bit?
etc. etc. details etc. details
Pretend someone came to you and told you "I have car trouble how do I fix it". You'd be like "uhhhhh"
DETAILS.
You just told me your troubled car runs on gasoline and has wheels. I still know almost nothing about what you are doing and what you have tried.
Which version of Windows 7? Home? I can't figure out why you would not see the "Run as administrator" option or be able to use the other shortcut to gain admin privilege if you're using the same OS as I am.
How are you launching? Have you addressed the memory warning by creating a shortcut or a batch file and using the settings it suggests in the error message? Are you running a firewall?
Are you using a router? What is your computer's internal IP address? What is your network's external IP address?
Which Java are you using to launch? Have you installed 64-bit Java or are you using the one from "Program Files (x86)"? Figure out what version of Java you have installed, or just go update it for purpose of good measure.
ive tried launching it with the .bat and without
i have trend micro titanium internet security
im using a netgear wnd3700 router my internal ip is 192.168.1.150 and my external is 76.116.32.138
i have 64-bit java installed
If you're warnings say "[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?"
...Or something like that, what this means is... there is a service already running
I think this should fix it, it worked for me!!!!!
If your port is still in fact :25565 and you haven't fu#$ed with it, this should work
You need to run command prompt (start > run > (type command) cmd > enter
In the command prompt, type the following (with your server NOT running) netstat -a -n -o (make sure to include spaces, and use "o" not "zero")
You will get a big list of IP addresses... you're looking for any and all of the ones that have port :25565 next to the IP.
Then, write down the PID number that matches that IP address
Now, ctrl+alt+del to open task manager.
In task manager > click the processes tab > click view (at the top) > select colums > check PID (process identifier) > click Ok
Sort your Processes in Task Manager by PID then kill the PID numbers you had to write down.
Start your server, and all should be well.
***NOTE***
Your ports and all that **** still need to be forwarded, this is AFTER you have done all of that stuff... You will likely need to do this process EVERY TIME you restart your PC.
Let me know if it worked, it worked for me!
i changed my ip to static and put that as my server ip and now its working!!!
i dont have anything running with 25565 :/