I believe this must be firewall issue, and i can’t figure out what settings to change (on windows firewall) to make my api requests to my localhost.
I’ve read this post: Calling locally hosted server from Expo App
And it helped me get the right uri (on console.log it reads correctly):
But i still can’t connect to my local server on my pc, i keep getting this error:
[Unhandled promise rejection: TypeError: Network request failed]
My phone is on the same wifi of my computer, so that’s not the issue. I read this post: How to enable sharing of web site on localhost?
And apparently it’s a firewall issue, but step 5 and 6 don’t show up on my control panel, or maybe i’m not looking in the right direction. Does anyone know what could be the issue? and what configuration should i change?