Go to settings, components, firewall, customize, and set “Auto decide” to “ask.” And make sure firewall doesn’t block your browser. I have never had issues with Avast firewall.