1
[server] need help with serious problem.
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!
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!
7
Thank you people! the community shows its awesomeness again! i got my server up and running! and everyone is welcome
That could be is there any chance you have access to your routers configuration?
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?
Go to google. Type Whats my IP, add :25565 to the end of that, that's your IP
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...
Thank you, ill try it right away
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. 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]
