title: Connect to Flask application via public IP
body: <p><br>
  I currently have 2 computers, one with CentOS 7.x and one with Windows 10. Both have public IP-addresses.<br>
  <strong>When I run my application on my Windows machine, I can access my website from the CentOS computer but not vice versa.<br></strong>
  I have turned off the firewalls temporary and it seems like it is not the problem. <br>
  I want to host it on my CentOS computer.<br><br>
  In my windows application I have:</p>
  
  <pre><code>if __name__ == "__main__":
      app.run(debug=True, port = 8080, host = 'publicIPofWindows')
  </code></pre>
  
  <p>In CentOS i have:<br></p>
  
  <pre><code>if __name__ == "__main__":
      app.run(debug=True, port = 8080, host = 'publicIPofCentOS')
  </code></pre>
  
  <p>If I host on my CentOS machine I can access it from the CentOS computer.<br>
  Can someone please tell me what the problem might be? <br>
  Do I have to install anything on my CentOS that is required for sharing? <br>
  I know that I installed a lot of (probably most unnecessary) things on my Windows computer.</p>