How to configure more than one addresses for "http_listen_multiaddress" in service.json

Description
The detailed steps are below:
1.Set up a IPFS cluster with two nodes. It is successful.
2.In node1, use REST API to get pins:
curl 127.0.0.1:9094/pins
It is successful
3.Modify http_listen_multiaddress in service.json to “/ip4/0.0.0.0/tcp/9094”, and then access the REST API from another node. It is successful.
4.Modify http_listen_multiaddress in service.json to “/ip4/0.0.0.0/tcp/9094,/ip4/192.168.1.2/tcp/9094” or “/ip4/0.0.0.0/tcp/9094 /ip4/192.168.1.2/tcp/9094”. Restart ipfs-cluster-service, and it failed because the http_listen_multiaddress format can’t be parsed.
So the question comes: how to configure more than one addresses for http_listen_multiaddress in service.json? What is the format? What is the delimiter between different addresses? It seems no documentation presents this. Thanks in advance.

Discussion happening here:

(please don’t double post in the future).

1 Like