I am trying to test my React Native application using iOS on expo client.
When I start expo start
, the expo runs metro builder. After scanning QR code using my iPhone, it says could not connect to server. It is trying to connect to exp://127.0.0.1:19000
. Both devices are on the same network. I suspect that the problem is in expo. Because it should be connecting to exp://ip_address:19000
.
If I go to exp://ip_address:19000
using safari, it works.
In this case, how to change the IP setting of expo.
Any help is appreciated.Thanks.