PMS on Nvidia Shield is localhost after restart

That happens a lot. You can move it back to a real name, but you’ll still have to fix your devices for the pinned items.

From:

Log into your router to find out the Shield’s IP address and then try logging into it locally via your web browser so:
http://[Local Plex Media Server IP Address]:32400/web

So, if the IP address of your Shield is 127.0.0.1 you should enter:
http://127.0.0.1:32400/web

If you are able to log in then associate the PMS with your account again and you should be good to go. Good luck!