我试着学习如何使用FreePastry API来创建对等应用程序。现在,我正在编写第三个教程,但不知怎么我得到了这个错误消息。
不能加入戒指。所有的鞋带都是错误的。
run:
Ox6FD69D:rice.pastry:20160628.044B23.402:joinFailed(rice.pastry.JoinFailedException: Cannot join ring. All boostraps are faulty.[/212.218.89.4:9001])
Usage:
Exception in thread "main" java.io.IOException: Could not join the FreePastry ring. Reason:rice.pastry.JoinFailedException: Cannot join ring. All bootstraps are faulty.[/212.218.89.4:9001])
java [-cp FreePastry-<version>.jar] rice.tutorial.lesson3.DistTutorial localbindport bootIP bootPort
example java rice.tutorial.DistTutorial 9001 pokey.cs.almamater.edu 90001
at rice.tutorial.lesson3.DistTutorial.<init>(DistTutorial.java:94)
at rice.tutorial.lesson3.DistTutorial.main(DistTutorial.java:164)
BUILD STOPPED (total time: 46 seconds)哪个"212.218.89.4“作为我的IP地址?其余的代码与演示程序相同。我需要在密码上做些修改吗?还是我错过了什么??
提前谢谢。
发布于 2016-07-14 11:04:31
这在我身上也发生了,但是错误是因为我使用127.0.0.1作为我的ip地址。我使用ipconfig命令获取我的ip,现在它可以正常工作了。
我想,这个错误是因为他们说在您的项目中您必须拥有user.params或freepastry.params文件,但最终它与环境的默认构造函数一起工作。检查这个environment
发布于 2019-01-16 16:34:20
尝试使用计算机的IPv4地址。
不要使用像255.255.255.0这样的子网掩码地址
此错误主要来自于净地址。
https://stackoverflow.com/questions/38066337
复制相似问题