1] Avast doesn’t have a firewall. 2] You really have to provide more details. Like: What OS? What exact version Avast? If you get an error which one? etc etc etc.