There's a solution by ianself on mozilla's support forum and it worked for me! It fixed both my chrome and firefox browsers.
- Type "cmd.exe" into Search and then right-click on Command Prompt****to select 'Run as administrator'
- Type "netsh winsock reset" into Command Prompt, and then press Enter
- Restart PC
source: https://support.mozilla.org/en-US/questions/974612#answer-491242