'Getting 'An existing connection was forcibly closed by the remote host' error message
I have been building a practice website for over a year and have never encountered this problem. I have not knowingly made any adjustments to my firewalls and internet settings.
Today I tried to run a few different versions of my website (from between a few days and few months old) and I encountered the same issue on all of them. So I was able to rule out a rogue piece of code in a recent version causing the problem.
I restarted my PC, cleared my cache on Google Chrome and also tested the issue on Firefox.
Does anyone have any suggestions? I am scratching my head to what triggered this problem.
Solution 1:[1]
Update
It turns out the original solution I proposed was wrong. I realised my problem was to do with Windows Security. I can only assume that one of the default Microsoft updates impacted the Windows Security.
Something happened which meant that 'Run quick scan' and 'View security dashboard' did not work any more.
I was getting the 'open this windowsdefender link'.
As a temporary fix I have discovered that sometimes just clicking 'Ok' on the error message resolves the issue. But I am actively trying to find a thorough, proper solution to the problem.
Original Comment
I have a Django Projects folder where I keep the latest version of my website and backups of my website from previous days, weeks, months and years. This folder had ballooned in size to 13.9GB and it contained 310,165 Files.
This was causing the problem. So I had to create a Django Projects Recent folder and a Django Projects Old folder.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |




