Hello so I have problems making a server this is the log:
[20:42:37] [Server thread/INFO]: Starting minecraft server version 1.8.8
[20:42:37] [Server thread/INFO]: Loading properties
[20:42:37] [Server thread/INFO]: Default game type: SURVIVAL
[20:42:37] [Server thread/INFO]: Generating keypair
[20:42:37] [Server thread/INFO]: Starting Minecraft server on *:25565
[20:42:37] [Server thread/INFO]: Using default channel type
[20:42:37] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[20:42:37] [Server thread/WARN]: The exception was: java.net.BindException: Address already in use: bind
[20:42:37] [Server thread/WARN]: Perhaps a server is already running on that port?
[20:42:37] [Server thread/INFO]: Stopping server
I used a port tool and it said the port was open so i was hoping someone could help me
It sounds like the port may be assigned to another application, or another device on your network.
Have you routed this port to your computer in your router's settings already? This will be the first thing you need to do (and ensure it's pointing at the right computer).
Was this working previously or are you trying for the first time?
Rollback Post to RevisionRollBack
Domains | Web Hosting | Game Servers | Voice Servers | Virtual Servers | Dedicated Servers | Co-Location
Yes i have configured it to have 25565 on both open on my computer and I have tried it on another computer before and it worked before on the other computer but this computer is new.
The only thing that I can think of is that maybe the IP address in your router's configuration is still set to the IP address of your old computer, not your new computer. Has this definitely been changed, or was it only set up originally with the previous computer's address? If so, it needs to be changed to the new one.
Let me know how this goes.
Rollback Post to RevisionRollBack
Domains | Web Hosting | Game Servers | Voice Servers | Virtual Servers | Dedicated Servers | Co-Location
If the IP in his router or on his computer has changed, the server would still start with no problems. Minecraft doesn't know or care what the IP configuration is like unless you specified an IP in server.properties file. If he did, and that IP is no longer valid, the error would be different. This error means something else is already listening on 25565.
OP, the fact that the port scanner said the port is open is proof that something else is listening. More often than not another server instance is going. Try opening a command prompt and typing:
taskkill /im java* /f
Then see if that makes any difference. If it still gives that error when you try to start the server, while in the command prompt type:
netstat -ano | find "25565"
The part after -ano is a pipe (shift then backslash key, looks kinda like a colon). That will give you something akin to this:
The number at the very end is the important part. That is the process ID of the program using the port, in this example 11724. Type:
tasklist | find "(portnumber)"
So in the example above I'd type tasklist | find "11724". I have a server running, so when I do this I get:
java.exe 11724 Console 1 978,032 K
So java is what has the port open. If you did the taskkill, java shouldn't be running so it may show something else. If you want to just close it out, you could type
taskkill /pid 11724 /f
Obviously replacing 11724 with the number associated with the program listening on the MC port.
Hello so I have problems making a server this is the log:
[20:42:37] [Server thread/INFO]: Starting minecraft server version 1.8.8
[20:42:37] [Server thread/INFO]: Loading properties
[20:42:37] [Server thread/INFO]: Default game type: SURVIVAL
[20:42:37] [Server thread/INFO]: Generating keypair
[20:42:37] [Server thread/INFO]: Starting Minecraft server on *:25565
[20:42:37] [Server thread/INFO]: Using default channel type
[20:42:37] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[20:42:37] [Server thread/WARN]: The exception was: java.net.BindException: Address already in use: bind
[20:42:37] [Server thread/WARN]: Perhaps a server is already running on that port?
[20:42:37] [Server thread/INFO]: Stopping server
I used a port tool and it said the port was open so i was hoping someone could help me
Hi there,
It sounds like the port may be assigned to another application, or another device on your network.
Have you routed this port to your computer in your router's settings already? This will be the first thing you need to do (and ensure it's pointing at the right computer).
Was this working previously or are you trying for the first time?
Yes i have configured it to have 25565 on both open on my computer and I have tried it on another computer before and it worked before on the other computer but this computer is new.
Hello,
The only thing that I can think of is that maybe the IP address in your router's configuration is still set to the IP address of your old computer, not your new computer. Has this definitely been changed, or was it only set up originally with the previous computer's address? If so, it needs to be changed to the new one.
Let me know how this goes.
If the IP in his router or on his computer has changed, the server would still start with no problems. Minecraft doesn't know or care what the IP configuration is like unless you specified an IP in server.properties file. If he did, and that IP is no longer valid, the error would be different. This error means something else is already listening on 25565.
OP, the fact that the port scanner said the port is open is proof that something else is listening. More often than not another server instance is going. Try opening a command prompt and typing:
Then see if that makes any difference. If it still gives that error when you try to start the server, while in the command prompt type:
The part after -ano is a pipe (shift then backslash key, looks kinda like a colon). That will give you something akin to this:
The number at the very end is the important part. That is the process ID of the program using the port, in this example 11724. Type:
So in the example above I'd type tasklist | find "11724". I have a server running, so when I do this I get:
So java is what has the port open. If you did the taskkill, java shouldn't be running so it may show something else. If you want to just close it out, you could type
Obviously replacing 11724 with the number associated with the program listening on the MC port.
+1, good way of putting it. I didn't want to be the one who asked the silly question of whether or not he has two windows open for it.
Worked thanks!