The most common reason for this after installing avast (excluding what has been asked above) is something blocking avast, subsequently it appears avast is blocking it.
What is your operating system and firewall ?
Does it allow avastSvc.exe internet access ?
- If it does delete the entry for it and and reconnect to the internet, this should force the firewall to ask permission again.