Easiest thing to do is looking at the firewall log file to see what is blocked and than allow the parts that Chromecast need.