Answer the question
In order to leave comments, you need to log in
Why do you need to deploy a Flask project if it works through www.mysite.com:5000?
Why do you need to deploy a Flask project if it already works through www.mysite.com:5000?
Answer the question
In order to leave comments, you need to log in
At 5000, a development server is deployed. It is slow, unsafe, inferior. If you make 100 requests to it at the same time, they will be processed one after the other sequentially.
If you do it wisely - run the application server (uwsgi,) in several threads and put nginx in front of it, distributing requests among these threads (workers), you will get a much faster, more flexible and reliable system.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question