‘$connector-0‘: Invocation of init method failed; nested exception is java.net.BindException: Addres
'$connector-0': Invocation of init method failed; nested exception is java.net.BindException: Address already in use: bind最近在启动一个安全加密相关的rpc项目,但是启动的时候老是报端口被占用的错误,但是提示信息也没有写什么端口被占用,折腾了两天,加上下雨,心情郁闷,后来发现这是由于zookeeper的端口被占用导致的。解决方法:修改配置文件:rpc.server=0.