docker-library / cassandra

Docker Official Image packaging for Cassandra
Apache License 2.0
262 stars 281 forks source link

Can't validate the external connectivity to cassandra container via TablePlus and DevCenter #190

Closed sunidhi27 closed 4 years ago

sunidhi27 commented 4 years ago

I want to validate if we can establish external connection to the cassandra database by query Integrated development environment like TablePlus or DevCenter. I am passing the host-Ip of container and Port as 9042. But its not getting connected to such applications, with an error : No hosts available for the control connection

FYI, I am also connected to the VPN to which the host is connected to. I also tried by passing the Node-IP instead of host-ip, but that doesnt work.

wglambert commented 4 years ago

Can you give all the commands you ran and any relevant contextual information or files for reproducing the issue

wglambert commented 4 years ago

You should publish the port and connect to the Docker host's IP address and port, which will forward to the container.

Going to close since this doesn't seem to be an issue with the image itself but with how to use and configure it

You could also try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum