Matter-server with docker not working correctly

I made progress narrowing the problem, but I still need help to solve it. If I run the same docker container on my Synology everything works fine. So I’m guessing this has to do with my Ubuntu server. Alas, no clue what it could be nor how to solve it. My Ubuntu server is only a few days old, so other than installing a few containers with portainer I did not change anything. Any ideas for how to solve this? I would really like to have all my containers running there instead of having all but the matter server.