Closed karthik137 closed 5 years ago
Do not use localhost or 127.0.0.1. Since docker container will try to connect to itself, the call wont go to the other. Use host IP you get from ifconfig probably for interface eth0 or similar.
Yes IP worked. Thanks.
Is it container issue?.
no. every machine has same loopback 127.* addresses. So is docker containers. If you ask container to connect to 127.0.0.1, it will connect to itself.
I am trying to setup two nodes in the single machine. I have only 4 aws instances. But i want to setup 6 nodes. I tried to setup two nodes in my local system first. First node started successfully. But second node failed saying "Unknown Error. Please check log. Program exiting".
First node rpc --> localhost:22002
Second node rpc --> localhost:33002 (This one fails to start).
I have checked the scripts. It is not able to fetch genesis data from node manager of the main node. I ran the post manually from the postman and it works. I think the problem is in pre_start_check.sh file.
Attaching screen shot -->