Docker swarm load balanced ip, or cluster ip?

You cant, but just because you use http://node1, dosnt mean that its node1’s container you’re going to hit.
Internally it will loadbalance to the right nodes.

what you want is maybe somekind of loadbalancer in front, maybe https://traefik.io/ ?