title: Not found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. flask problem
body: <p>I have a code like this:</p>
  <pre><code>from flask import Flask, jsonify
  app = Flask(__name__)
  app.run(port=5000)
  
  clients = [
      {
        'imie': 'Jan',
        'nazwisko': 'Kowalski',
        'produkt': 'Karta podarunkowa Media Expert',
        'wartość': 100,
        'ilość': 2,
      }
  ]
  
  
  @app.route('/')
  def get_clients():
      return jsonify({'clients': clients})
  </code></pre>
  <p>The problem is that while running the code ang going to main page: <code>http://127.0.0.1:5000</code>, I got an error:</p>
  <p><em>Not found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</em></p>
  <p>In console I can see 404 error:</p>
  <pre><code>127.0.0.1 - - [24/May/2022 16:46:30] &quot;GET / HTTP/1.1&quot; 404 - 
  </code></pre>
  <p>I'm using PyCharm IDE, hope that's not the case. I shut down every Python process using <code>CTRL + ALT + Delete</code>. But it haven't helped me.</p>