Networking in HA and Google devices

I’m hoping someone can explain this a little better than the bits of info I have found online.

I am running HAOS supervised 2022.10.5 on a Macbook Pro in VirtualBox. Very early on in my setup I assigned a static IP to the HA instance which really helped everything stabilize. Since then various things in my setup have changed and I am now unable to cast anything local to any Google devices. I also cannot run TTS to any of them. Any time I try the log says they enter buffering mode and then nothing ever happens. The only thing I can currently do is play streaming radio through the Radio Browser. Then one day I got a new error from the Sonos integration saying that the Sonos device cannot reach the :1400 port and is falling back to polling. Why? What happened? How can I fix it?

I have tried so many things that I found online and nothing has worked. I have tried changing the TTS config in the config.yaml file. Some people online say use buffering in the yaml. Some people say don’t need to use it anymore.

I have tried different addresses for the internal and external url configs. I have a Nabu Casa account and have tried using the cloud setup page.

Literally nothing has changed.

I would really like to know how to go about fixing this issue as I miss that part of the functionality of HA. Not having TTS or media streaming leaves so much out of automations.

I would also love a better understanding of how different url’s correspond in HA. Which is my local address? Do I use the VirtualBox static IP or the :8123 address.

HOW DOES IT ALL FIT TOGETHER?

Have been dealing with this for months now trying to figure it out by myself but to no avail.

Please. Help.

Thanks very much in advance.

No one at all?

Please?

Even just point me to the right direction to figure out the relationships between http, https, and the different IP’s when using VirtualBox?