I remembered that ipv6 was still enabled since it’s a new install, so I disabled that and at first nothing changed, so I also followed the steps here:
https://forums.plex.tv/t/howto-reset-metadata-agent-preferences-to-defaults-and-whack-caches/197059
And restarted the container. After that it seems to be working.