Correct Solution: Firewall settings.
I just wanted to confirm the same thing was happening to me. Avast controls my firewall settings and VLC had all allowed permissions. I discovered (in my case) my network was set to public. Changing it to private (as it is) solved casting issues.