Is your firewall / network profile in Puplic or private mode?

Firewall - Network profiles >> https://help.avast.com/en/av_free/12/settings_fw_profiles.html

https://www.avast.com/faq.php?article=AVKB25#artTitle