It just happens on one of my Windows 10 computers (not on the others) that Avast cannot properly connect to the internet. Online installer doesn't work, so I have to use offline installer. Then it does not update. Even if the virus definition is days old, it still says it's the latest definition. Also, I tried to add new languages, without success. Adding new components, failed.
I tried everything I could, e.g. switching off the firewall, clean reinstall, etc., but no luck to fix it.
Any idea what else can help? Thanks!
----------
Edit:
Thank r@vast for finding out the solution:
1. Run Elevated Command Prompt
Click on the Start menu.
Type: cmd in the Windows search bar.
Right-click and choose "Run as Administrator", and allow elevation request.
2. Type: netsh winsock reset and hit Enter.
3. Type: netsh int ip reset and hit Enter again.
4. Restart the computer.