2

I am trying to set up a private cluster of Solana, after executing ./multinode-demo/bootstrap-validator.sh, it's running and running without stop..., while i am waiting, I tried to start another validator by running ./multinode-demo/validator-x.sh on the same machine. but the gossip service discovery result depends on implicit and explicit public IP address for entrypoint: if I run ./multinode-demo/validator-x.sh the response will be discovering failed as follows: with explicit host IP address

but if i execute only ./multinode-demo/validator-x.sh, without any IP address specified, the response will be successful discovery as follows: without host IP address, means implicit local address

Anyone can tell me what I missed or the root cause of this? Thanks a lot.

2
  • correct the first case/screenshot: ./multinode-demo/validator-x.sh <host ip addr> Commented Jul 31, 2022 at 1:38
  • I know the answer and solved it. the cause is my cloud server does not allow port 8000-10000 open by default. Commented Aug 2, 2022 at 21:56

1 Answer 1

1

check if the port 8000-10000 are open(allow access through) of the bootstrap validator server(the host ip addr).

2
  • elaborate this answer by explaining how you discovered that the ports were not open so others can identify this issue if they experience it
    – trent.sol
    Commented Aug 4, 2022 at 5:57
  • ok, compared to correct discovery result for the case of no ip addr specified, the incorrect output for explicitly providing ip addr confused me for several days. In despair, I decided went through documentation carefully, at validating section (docs.solana.com/running-validator/validator-reqs#required), I suddenly realized I was not sure if those ports are open or not although no any log info mentioned that. then I checked my cloud server and added some security rules to explicitly open them in case they are closed by default and it worked. So good documentation is very important. :-) Commented Aug 5, 2022 at 13:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.