1

[server] need help with serious problem.

EmeraldAdmin 12/17/12 12:47 pm
106
12/24/2012 2:01 pm
My server suddenly stopped working, it said : failed to bind to port.
Than i followed multiple turtorials, re port forwarded my server again. i tried my normal and ip4 adress.. different ports. I have no idea what the problem is. I do have one clue, i let my ports be tested by a website. and it said its closed. So how to fix this problem? if it is with the port thingy then how to open it? thanks for replying if you do!
Posted by
EmeraldAdmin
Level 8 : Apprentice System
12

  Have something to say?

JoinSign in

7

EmeraldAdmin
12/24/2012 2:01 pm
Level 8 : Apprentice System
Thank you people! the community shows its awesomeness again! i got my server up and running! and everyone is welcome
1
CptShock
12/18/2012 3:25 pm
Level 1 : New Dragon
That could be is there any chance you have access to your routers configuration?
1
EmeraldAdmin
12/18/2012 3:15 pm
Level 8 : Apprentice System
Okay, i did that. but when i use that one it says failed to bind to port. I did port forward it,,, and i can locally join it. but other players cant if u use none of the ips. i caught a clue about my ports being closed? could that be the problem?
1
Carbonwyre
12/17/2012 5:09 pm
Level 4 : Apprentice Crafter
Go to google. Type Whats my IP, add :25565 to the end of that, that's your IP
1
EmeraldAdmin
12/17/2012 1:06 pm
Level 8 : Apprentice System
Uhmm, i did that. it finally loads , but the ip says cant reach server. Now should i use my 192.168 ip or the 81. one? or my ip4?? i dunno what ip to use...
1
EmeraldAdmin
12/17/2012 1:02 pm
Level 8 : Apprentice System
Thank you, ill try it right away
1
CptShock
12/17/2012 12:54 pm
Level 1 : New Dragon
This could mean two things

1. You already have a server running. (Maybe a Ghost Process?)
2. It's the port 'thingy' you mentioned before,

Here are some general things you can do to fix 'failed to bind to port'.

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.

For the Ghost process

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]
1

Welcome