Remote Access Disconnecting after 4 seconds

Yes there are other forum threads but the issues vary and each long forum topic has many different causes for drop out of remote access.

Each case needs to be investigated to try and understand the cause and if there is a common theme

So please ensure debug logging is enabled on the server
See
https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/

Restart the server to make sure fresh log files are created

Then when the issue arises, please take screenshot of server remote access settings screen with show advanced and note down the time and collect the server logs
See
https://support.plex.tv/articles/200250417-plex-media-server-log-files/
and if using a manually specified port, to provide router settings screenshots of the DHCP Settings (Reservation) and Port forward rule

Thanks