Trouble after restarting

I’m having issues logging in via the app or browser from my local network or through duckdns.
I have to use command line to start/restart multiple times and then for some reason it will just start working again.
Does anybody have any ideas?