Media player unable to reach source

I am experiencing problems when trying to cast to Google nest devices. I get the following error log. Does that ring a bell to anyone? Do I need a special WiFi setting to support this?

Thanks in advance. :pray:

Logger: homeassistant.components.cast.media_player
Source: components/cast/
Integration: Google Cast (documentation, issues)
First occurred: May 17, 2021, 7:08:11 AM (4 occurrences)
Last logged: 6:36:54 AM

Failed to cast media Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address