If your localhost stopped working after the recent Windows update, there is an easy fix, though it might involve some complications if you're unlucky.
If you attempt to open a localhost site hosted on local IIS or one started from Visual Studio using IIS Express, and the page reports an "ERR_CONNECTION_RESET" error, you likely have a problem related to the latest Windows update.
The Simple Solution
The simple solution is to uninstall the problematic updates using the following commands in an elevated Command Prompt or PowerShell:
wusa /uninstall /kb:5066835
wusa /uninstall /kb:5065789
After running these commands, restart your computer, and your localhost should work again.
Troubleshooting (The Complication)
If you encounter an error like: "installer encountered an error: 0x8000825", you will need to first disable "Windows Sandbox" (in Turn Windows features on or off) and then try the uninstall commands again.
Top comments (0)