title: Why is fetch not working on my mobile browser?
body: <p>I made the simplest server in NodeJS, which stocks strings in a database when requested <code>"/add"</code> and sends to my front (ReactJS) all of those strings <code>"/getall"</code>. I display them using the <code>map</code> function. Everything works as expected. But, my information is displayed only on Desktop browser, not on mobile browser (Safari or Chrome). </p>
  
  <p><strong>Web</strong></p>
  
  <p><a href="https://i.stack.imgur.com/6zuc4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6zuc4.png" alt="enter image description here"></a></p>
  
  <p><strong>Mobile</strong></p>
  
  <p><a href="https://i.stack.imgur.com/RA33r.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RA33r.jpg" alt="enter image description here"></a></p>
  
  <pre><code>async fetchFromDatabase(){
     let url = "http://localhost:8080/getall"
     let c = 0
     await fetch(url).then((response) =&gt; {
         response.json().then((data) =&gt; {
             let values = []
             for (let i in data) {
               values.push(data[i].post)
               c++;
             }
             this.setState({
                 posts: values
             })
         });
     });
   }
  </code></pre>
  
  <p>To fill in my array, I do this:</p>
  
  <pre><code>let allPosts = this.state.posts.map(item =&gt; (
    &lt;div key={item} className="center-div"&gt;
      &lt;p className="box"&gt;
        {item}
      &lt;/p&gt;
    &lt;/div&gt;
  ))
  </code></pre>
  
  <p>To render the information, I do this:</p>
  
  <pre><code>&lt;div&gt;
    {allQuestions}
  &lt;/div&gt;
  </code></pre>
  
  <p>Fetch is definitely not working for mobile. Has anyone experienced something like this?</p>