Reputation: 355
I am trying to connect to the GridDB server via sql workbench/j by following this blog post.
I setup the GridDB server on a CentOS Docker image, Mac Host and can successfully connect via the sqlwbconsole from within the container, but having problem connecting from the host via the sqlworkbench/j GUI. I am suspecting that the problem is with docker not supporting multicast and found that using --network host should fix the problem (according to this post). But still cannot connect to the database ...
The multicast address is: jdbc:gs://239.0.0.1:41999/myCluster/public
Any suggestions how to access in-container's multicast address from the docker host?
Upvotes: 1
Views: 140
Reputation: 151
Have you tried maybe setting the hostname to localhost
as indicated by this blog: https://griddb.net/en/blog/run-a-griddb-server-in-docker-desktop/
Upvotes: 0