Infuse 6 unable to connect to UPnP connection

Hello, I actually plugged in my external hard drive to my router so I can use UPnP and play my videos through it on any device. So I tried using Infuse 6 on my Apple TV and iPhone to do this, and when I try connecting to my router via UPnP, it says “Sorry, Infuse encountered an error while trying to connect” on the Apple TV app, and it says the same thing on the iOS app. I tried using other applications for UPnP such as VLC Media player, and it connected perfectly fine. Why is this problem happening? And how can I fix this on Infuse? Let me know, thanks