Avast doesn't have a sort of "firewall" that would block connections.
I'm guessing the problem is that you have a previous version of norton or symantec, or mcafee on your computer, and it wasn't completely removed.
Please tell us, (if any) what Anti-Virus software or firewall software you had on your computer before you installed avast...