Connecting to an IP with React Native and Apollo

I made a react native project with Apollo integration. So far, I was able to connect to the localhost apollo server and was able to fetch data. However, when I configure the host network to an IP address that’s connected to the LAN, I get a Network error: Network request failed

I’ve accessed the and was able to do queries from there through the browser.

Any ideas why this is occurring? I haven’t tried deploying my Apollo server yet. Should I be expecting the same problem to occur?

Did you solve this? How did you get your IP connected as in development?