Keep media server awake when Kodi is running on another device

Sorry if I’m posting in the wrong support topic area. I use Windows 10 OS to act as my media server to serve media to all my frontend devices. I also have MySQL database set up on my server to sync all frontend devices.

I like to hibernate my server when none of the frontend devices are being used. Right now I use a Smartpower application to check if any devices are up by pinging or gratuitous ARP the IP addresses. Works great with all my devices except Firetv due to network adaptor still active during sleep. It’s not rooted or able to be and I’ve tried Tasker app and still unable to disable network adapter while the Firetv is sleeping.

I was wondering if anyone knew of a power management application in Windows that could check Kodi’s web port ex:8080 was open or listening on a frontend device and if it was to keep the media server awake. Or if someone has a script that would accomplish the same thing that would be awesome. Thank you for your time.