React Native Android Fetch failing on connection to local API

前端 未结 9 1843
被撕碎了的回忆
被撕碎了的回忆 2020-11-28 22:08

I\'m using the fetch API in my react-native Android app to make requests to a local API. I usually query said API from react web apps at http://localhost:8163.

I\'m t

9条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 22:51

    Open the console in you're desktop, type : ipconfig

    you'll get an IPv4_Address

    and try this : 'http://IPv4_Address:8163/extension/auth'

提交回复
热议问题