Fixed it, I had to deactivate something on my router.
How did you fix that? I was running a dedicated server and it wont let my client join.
If you know what portforwarding is, I activated it for the port i used for mindustry (I think it was 8080?).
But I had a function turned on, that blocked a section of ports, after i deactivated it, everything worked fine for me.