Well something was asking if you wanted to allow Avast or not. And in 99.9% of all cases it is a firewall that asks you that. Maybe you don’t know it, but it seems to me you have one. And my guess is you have the windows firewall running without you knowing it.