Here is a list of best practices for stable server operation:
For your particular situation, concentrate on points 4) – 7), + 11)
- Put your Plex server inside a private network/home network
- Avoid home network “fragmentation”
- Use a designated private IP range for your private network
- Give the server and your NAS static local IP adresses
- Avoid using more than one network adapter in your server machine
- Use wired network connections, disable power saving for network adapters
- Use a manually configured port forwarding, instead of relying on UPnP
- Don’t let hard drives spin down their platters
- Don’t rely on Windows to store access credentials to file servers/NAS devices
- Configure “DNS rebinding protection” in your router/DNS resolver
- Make sure all involved devices have accurate date/time
- Always use a “staging” folder for preparing your media files
- Don’t point a Plex library to a “naked” drive letter
- Stick to the Plex naming conventions
- Never mix up media folders, Plex data folder, and the Transcoder temporary folder
- Before assigning an email address to a plex.tv account, make sure it’s actually ready to receive mail
See also The Basics of Remote Access Troubleshooting
Please ask for details, if you are unsure about some of the points.