im developing my react native app on MAC and im developing my API from my windows pc.
when im try to reach api from mac with postman i can use
but when i try to send request to api from react-native app (ios or android emulator) it cant reach.
postman request is: Method GET http://192.168.1.109:5000/api/pk/get it returns data on MAC successfully
when i trying to code below:
fetch("http://192.168.1.109:5000/api/pk/get").then(response=>{console.log(response.json())})
it gives NETWORK REQUEST FAILED error.
how can i make this connection on same network two devices (Actually it work on postman. how can i make reach react-native app to other pc API)