Ok make it simple.

In the documentation, we ask people to configure three ZMQ endpoints. By default we bind on ``tcp://127.0.0.1:555(5|6|7)``

If you bind on localhost you cannot access the socket from another IP to bind on all interface we can use ``tcp://0.0.0.0:555(5|6|7)``

But then circushttpd ask the client (on tcp://client_ip:5555) what is the ZMQ stats endpoint : ``endpoint=client.stats_endpoint``
If the configuration says ``tcp://0.0.0.0:5557`` then the StatsClient try to connect to that IP which is not the right one.

My fix is to use the circusd-endpoint (on tcp://client_ip:5555) to use it to replace the all interface binding 0.0.0.0 with it.

But I am open to a better fix.
Maybe we could modify the connect page to ask for both ip instead of only the endpoint, we could prepopulated it with the first one by default.