title: Unhandled promise rejection: TypeError: Network request failed in expo
body: <p>im trying to consume my api, here is  the code</p>
  <p>here I create the home class and the state</p>
  <pre><code> export default class  Home extends React.Component {
     state = {
       region: null,
       places: []
     }
  </code></pre>
  <p>here I connect to my api and try to search for the places</p>
  <pre><code>   async componentDidMount() {
       fetch('http://localhost:3000/auth/list')
         .then(res =&gt; res.json())
         .then(res =&gt;{
           this.setState({
             places: res
        
           })
         })
  </code></pre>
  <p>here I render this in a map</p>
  <pre><code> render() {
       const {region} = this.state;
       return (
         &lt;View style={styles.Container}&gt;
           &lt;MapView style={styles.Mapview} 
           region={region}
           showsUserLocation={true}
           zoomEnabled={true}
           showsPointsOfInterest={false}
           initialRegion={region}
         
           &gt;
  </code></pre>
  <p>here I create a marker</p>
  <pre><code>           {this.state.places.map(places =&gt; (
               &lt;MapView.Marker
               key={places.id}
               title={places.title}
               description={places.description}
               coordinate={{
                 latitude: places.latitude,
                 longitude: places.longitude
               }}
          
               /&gt;
             ))}
           &lt;/MapView&gt;
  </code></pre>
  <p>but it says :Unhandled promise rejection: TypeError: Network request failed</p>