Aborted connection error in flask
<p>If the client closes an established connection that it has made with the <em>flask</em> server, I get the following error in the terminal:  </p>

<pre><code>[Errno 10053] An established connection was aborted by the software in your host machine
</code></pre>

<p>It seems when <em>flask</em> tries to write in the closed stream, it faces errors and hence will complain.<br>
It seemed like a warning or so as the application does not quit after printing the error, but the problem is that my server will stop serving other requests despite being alive in the system.  </p>

<p>I have read similar questions but they did not help. How can I prevent this issue? I use both Windows and Linux operating systems.</p>

<p>The cause of this problem is, as we previously discussed, insufficient permissions to perform the network operation. The remedy to the problem was to run the process as an administrator and/or to modify the system policy to allow connections on the restricted port.</p>

python flask flask-restful