How to fix "OSError: [Errno 113] No route to host "?

Cannot connect to rhasspy,despite that the container is running.Tried to recreate the container but the problem is the same

No route to host is a network error.
It means that somewhere on the route between two devices there is a misconfigured network.
recreating the container have no effect if you connect it to the same bugged network

Thank you for the answer.I use my home network,with the internet provider’s default configuration.
Do you have any idea why is that?

You are running a container which means you are probably having a virtual network on the machine and that is where the error is.
It might be a NGINX network if it’s docker on Linux.