Help Needed: Connecting a local database to android device

Hello, I have been trying to connect my local MongoDB database to a react-native application that is building using

I am doing this in order to troubleshoot issues for an application I am fixing. The code is old, the code is pretty terrible, but i have a job to do and I doubt my client would go for a complete refactor - one where i would not have to ever use MongoDB.

Part of the system is a phone application created in react-native that I launch locally with Expo. I cannot for the life of me get my Mongo Database to connect to my react-native app. If I use local host the phone thinks its using its own loop back address and fails to connect. All other address I have used have failed. I simply cannot figure this out. I am alone on this project and I dont want to break their budget. Can someone please give me some advice.