Help with Podsync (works externally but not locally)

I’m running Podsync on my local network to stream media to my phone and other devices which works externally while using the external IP address, and everything works fine in a browser when I access it using the local IP address of the server. However, I’m facing an issue when trying to use the AntennaPod app to stream the media.

When I access the XML feed and media via a browser on my phone using the internal IP address (e.g., http://[internal_ip]:8080), it works perfectly. But in Antennapod, I’m seeing an error indicating that it’s trying to fetch the media from the external IP address (e.g., http://[external_ip]:8080), which obviously doesn’t work while I'm at home on the local network.

The only workaround I've found so far is to use a VPN on my phone, which changes my IP address to one outside my local network. This allows the app to connect to the media properly, but it's not an ideal solution.

I'm looking for help on how to configure Podsync and/or Antennapod so that the app uses the internal IP address when I'm on the same local network (instead of trying to use the external IP), and ideally without needing to rely on a VPN when at home. Any advice on how to fix this issue or make Podsync properly recognize and serve the internal IP address to apps would be greatly appreciated.

I just want to use Podsync while at home and away, thank you