DataStax Devcenter fails to connect to the remote cassandra database

前端 未结 4 959
遇见更好的自我
遇见更好的自我 2021-01-18 08:40

OS: CentOS 6.4 (server)

I have successfully installed (yum install dsc20) the cassandra database layer in my server and can connect to it using the CQL SHel (cqlsh).

4条回答
  •  执念已碎
    2021-01-18 09:05

    Try this.. It worked for me!

    Run the following command on your machine where you have DevCenter installed

    $> ssh -L 9042:localhost:9042 @ -N
    

    After running this command, it will prompt for password

    Now in your DevCenter > Contact Hosts, provide "127.0.0.1" and test connection. Bingo, you see the magic...

提交回复
热议问题