you mean it works when you turn off firewall ?
delete all avast rules in your firewall and create new…