All host(s) tried for query failed (tried: / ip :9042
来源:互联网 发布:程序员刷题的中文网站 编辑:程序博客网 时间:2024/06/05 11:11
在使用java编程的驱动代码远程连接linux上cassandra的时候出现了连接不上的问题,
接着讲 selinux 与 防火墙都关闭了,发现还是不行。
All host(s) tried for query failed (tried: /ip (com.datastax.driver.core.TransportException:[/ip] Cannot connect), /ip (com.datastax.driver.core.TransportException: [/ip] Cannot connect))
最后由于的远程连接,应该修改
如果需要远程连接,那么cassandra.yaml里面的rpc_address就需要改变为您当前环境实际的IP地址,否则会报错!
修改后就可以了!
0 0
- All host(s) tried for query failed (tried: / ip :9042
- .NoHostAvailableException: All host(s) tried for query failed (no host was tried)
- fedora All mirrors were tried
- All boot options are tried.
- Retrying connect to server: :9000. Already tried 0 time(s)
- Tried树模板
- 关于Tried树
- what have you tried?
- What have you tried?
- TensorFlow的图像预处理报错ValueError: Tried to convert ‘min_object_covered’ to a tensor and failed.
- TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype float64 for variab
- have you tried Google Earth?
- Tried树(统计单词)
- 流行歌曲:I Tried (Feat. Akon)
- 字典树(Tried Tree)(待续)
- [转]Why Android isn’t ready for TDD, and how I tried anyway
- Native module ToastModule tried to override ToastModule for module name ToastAndroid
- Gerrit 执行 git pull 的时候,提示 fatal: Out of memory, malloc failed (tried to allocate *** bytes)错误的解决方法
- 优化UITableViewCell高度计算的那些事
- 66. Plus One
- Java开发岗位面试题
- Java SDK Apache-Tomcat 配置安装
- 调试JS 出现 ;window.onerror=function(){return!0};
- All host(s) tried for query failed (tried: / ip :9042
- unity 5.3.1播放视频文件
- 腾讯云+校园计划
- 数据结构实验之栈一:进制转换
- Android Data-Binding简记
- error:(NSError **)error
- 安卓ToolBar遮住内容
- OpenResty学习笔记(七) lua高阶之元表
- 移动端H5页面之iphone6的适配