Hi,
How did you disable file and printer sharing, through Avast Firewall settings? Can you add a screenshot, please?
It is unclear how you are set up, but these are public IPs, so you are connected to the internet. These public IPs attempted to access your device, and Avast Remote Access Shield blocked these attempts.