How does desktop client software aware container fail-over to another Docker Swarm worker node?

We are running Docker Swarm with 10 workers nodes, and I created a Nginx port 80 container running on host network, which has replica = 1, this means within these 10 worker nodes, there will have 1 Nginx container running in these worker nodes.

Question: How does client PC know where to go if this Nginx container is floating around the worker nodes without fix IP address?

Source: StackOverflow