Physical Device to access local API server

While I managed to connect the iOS simulator to a local NodeJS API server, I am struggling to do the same with the physical device on the Expo network. I tried both localhost and the IP address of my machine.

Correction: I had to give the physical IP of the machine (192.168.x.x.) and it worked.

1 Like

Glad you got it figured out!

Also check this out: react native - Calling locally hosted server from Expo App - Stack Overflow

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.