How to configure more than one addresses for "http_listen_multiaddress" in service.json #716
Closed
13 of 26 tasks
Labels
exp/novice
Someone with a little familiarity can pick up
help wanted
Seeking public contribution on this issue
kind/enhancement
A net-new feature or improvement to an existing feature
CoreyLin commentedMar 13, 2019
Pre-check
secretBasic information
which?which?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.
The text was updated successfully, but these errors were encountered: