Sounds like firewall blocking as in many other threads, especially when you can connect to the Internet with a browser as avast uses the same protocol.

Repair is there, scroll down.

http://img.photobucket.com/albums/v325/for-dwr/avast-repair.jpg