When setting up remotely, you must use SSH tunnel https://support.plex.tv/articles/200288586-installation/
Scroll down to On a Different Network