Reconnecting plex on samsung tv to nas

If that is the actual IP address of your server, then it probably won’t work. This IP is not in a “private range”.

Also, I think the ability to define a server IP manually was only present in the super old Orca app for older Samsung models. This one is unfortunately no longer usable without big changes to both your home network and your Plex account.
If your tv ran this old app, it strongly suggests that the actual TV model was not from 2020 but from before 2017.