Cast outside my network

How can i cast from iphone to tv (outside) of my home network to Samsung tv?
Iv tried more the 10 app doesn’t working outside home network…:broken_heart:

Best option is with Plex, but you need to open the ports on your router. By default 32400 I remember, but double check on plex website.