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:
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.