I installed Griddb server with name "griddbba" in an ubuntu virtual machine and I installed GridDB PHP client in another machine.
I run sample1.php found here using CLI as below:
php sample/sample1.php 239.0.0.1 31999 griddbba admin admin
Then I get an error message as below:
[0]
10053
[10053:TXN_CLUSTER_NAME_INVALID] Failover timed out (trialCount=71, reconnectedTrial=-1, failureMillis=120711, reason=cluster name invalid (input=griddbba, current=griddbubuntu))
[1]
10053
[10053:TXN_CLUSTER_NAME_INVALID] cluster name invalid (input=griddbba, current=griddbubuntu)
[2]
10053
[10053:TXN_CLUSTER_NAME_INVALID] cluster name invalid (input=griddbba, current=griddbubuntu)
As you can see, I am unable to connect to the Griddb server from another machine.
Any suggestions how I can fix this?