Minecraft server remote host problem?

ko
- in Servers
17

I opened a Minecraft server (Vanila) with a somewhat older PC (OS: Ubuntu server), which I want to make accessible to friends (you got the dynamic ip from the router). But after a few seconds my friends got the message "internal exception java.io.ioexception an existing connection was closed by the remote host."

I've already done the following:

Ports released (tcp on port 25565)
With the firewall the ports released
java updated
The connection to the router via LAN is set

I can get the IP on the server without problems but not others

St

The others use the wrong IP…

tell you the IP that you can read on https://www.wieistmeineip.de…

by the way, port 25565 TCP is sufficient… UDP is not obeyed…

ko

The others use the dynamic DNS ip that I gave the router

St

First try the IP of wieistmeineip, you can try dyndns later…

first the IP MUST be correct…

ko

Jo did the same with the IP that is on wieistmeineip, unfortunately the same problem

Ke

You have to give them the right ip or it won't work

St

Hmm, sure that your IPv4 is also reachable from the outside? What kind of internet provider do you use?

can you give your friends your IPv6 and test it with it?

it is important that your friends have to enter the IPv6 in square brackets…

ko

Kabel Deutschland is my provider

I gave IPv6 from wieistmeineip to them and they don't come to the server at all (Connection refused: no further information.

while you come to the server with the IPv4 but are kicked with: "Time out" as a reason

ko

You got the Ip from https://www.wieistmeineip.de/

Ke

Then you made a mistake with the port release or with the firewall

St

It may be that you do not have an externally accessible IPv4 (DS-Lite problem), because I'm also with a cable provider (German fiber) and I have no IPv4 that can be reached…

with the IPv6 this works very well, only you have to release DIE, also in the router, or open the firewall in the router, for the IPv6 and the port…

otherwise, rent a small VPS from Ionos.de for one euro a month and install 6tunnel on it, with this program you can tunnel the IPv4 that you get from Ionos to your server…

Your friends then get the real fixed IPv4 from Ionos and connect it to your server…

the whole thing then costs 12 euro a year…

I also do it successfully

ko

I assume that too, but I can't find it. Use a Fritzbox and have released the PC under the item port release and released the same port with Ubuntu with ufw

St

Or he has DS-Lite, then it doesn't work with IPv4 …

is so common with cable providers…

St

Do you see in the server console when a friend tries to connect?

ko

Yes they come on it but are kicked afterwards with time out

I just created the server on my pc and they all come in and it works very funny. That means the problem has to be with the connection between server Pc and the internet or?

St

Yes you are right…

Maybe a firewall is also active for Linux - take a look at the IPTables…

ko

Yes, a firewall was active, I completely deactivated the firewall with https://www.cyberciti.biz/faq/ubuntu-server-disable-firewall/, but the error message keeps coming up (I also rebooted)

ko

Ok I got it, I deactivated the firewall again and everything worked.