Wanted to play Minecraft online with friends. I have created a server for this purpose. Now I need my IP address so that others can join. On the site wieistmeineip.de comes a combination of 30 numbers and letters. Right next to it is an IPv4 address. Which one do I have to take?
The IPv4 (XXX.XXX.XXX.XXX)
The other is probably your IPv6 address.
With the IPv4 address from the website, the error message appears in the log
[15:20:48] [Server thread / WARN]: **** FAILED TO BIND TO PORT!
[15:20:48] [server thread / WARN]: The exception was: java.net.BindException: Can't assign requested address: bind
[15:20:48] [server thread / WARN]: Perhaps a server is already running on that port?
[15:20:48] [Server thread / INFO]: Stopping server
But if I now take the IPv4 address on the console (cmd) works. What is wrong?
With the IPv4 address from the website, the error message appears in the log
[15:20:48] [Server thread / WARN]: **** FAILED TO BIND TO PORT!
[15:20:48] [server thread / WARN]: The exception was: java.net.BindException: Can't assign requested address: bind
[15:20:48] [server thread / WARN]: Perhaps a server is already running on that port?
[15:20:48] [Server thread / INFO]: Stopping server
But if I now take the IPv4 address on the console (cmd) works. What is wrong?
In the Config simply do not enter ServerIP and then give the other IPv4.
Do you mean in the server.properties?
Yes, simply do not enter an IP.
Oh. I then join localhost and the others I then give IPv4 from the website or from my console?
If your> PUBLIC
I estimate from your comment that the IP in the console is not public, right? So then from the website.
I do not know, I would have to look it up myself. - Otherwise, you can just test it by passing both IP's on to your friends.
Does the second start with 192.168?
The console starts with 192.168
Well, I tried with both. He could not connect with both. Had to join too long and then came a "Connection timed out" error. Funny actually, because the ports I had released…
So the ports are released through the firewall.
This is the Local IP and useless for this purpose.
Okay thanks, but there was also a "connection timed out" error with the other one.
Was the connection attempt specified in the console?
Did not see anything, no.
Port released and entered the correct one?
I released the port in the firewall. 25565 is not it?
If you have not specified another, yes.
In the server.properties is: server-port = 25565. I honestly have no idea what it is.
I do not have to write server ip in server.properties, right?
Not really
Then it does not seem to work. Too bad
They must be released in the router.