Is your Firewall mode set to Private and have you enabled Internet Connection Sharing mode via Settings > Firewall?
You will be able to cast with those settings.
Edit: I just read you are using Avast Free. Does disabling only the Web Shield make a difference? If you’re using the Free version as you state, you will have full control of your current Firewall.