Having problems with dynDNS?

Hi everyone,
I am still very new to nextcloud and docker in general…
I have nextcloud up and running and it works flawless on LAN.
However not with my dynDNS, I added ´random.net:port´in the trusted connection yet still it says it isnt connected?
Any ideas what I have done wrong?
Oh and I am using http not https if that matters

I have just figured it out I guess thats what forums are for xD
Write a question and solve it 20 min later on your own xD

Solution:
I didnt add the local IP adress of my router…