feknall / Hyperledger-FL

4 stars 0 forks source link

Using the correct endpoint address instead of default gateway #7

Open feknall opened 2 years ago

feknall commented 2 years ago

Agents can communicate with each other only if we run them by this command:

PORTS="5000:5000 10000:10000" ./scripts/run_docker start --inbound-transport http 0.0.0.0 10000 --outbound-transport http --log-level INFO --admin 0.0.0.0 5000 --admin-insecure-mode --endpoint http://172.17.0.1:10000 --genesis-url http://172.17.0.6:8000/genesis --wallet-key key --wallet-name my-wallet --wallet-type indy

However, --endpoint option cannot be something like localhost or 127.0.0.1. Instead, it must be the default gateway of the network that all containers are using. It's strange and must be solved.