See if your firewall is preventing it (Allow avast to connect).