[Solved] Python2 Flask startup error: [Errno 10053]

First of all, this is not an exception of the Flask library. This error often appears in Python2.

The problem is: the problem with the SocketServer module in Python2.

Solution:

  1. Do not use the built-in Server, start the service through gunicoon or uwsgi
  2. runAdd in the method, threadedparameters:
app.run(threaded=True)
  1. Upgrade to Python3


Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *