NutzCN Logo
问答 nb 使用zookeeper 地址用的是外网服务器IP地址
发布于 491天前 作者 comzt 1440 次浏览 复制 上一个帖子 下一个帖子
标签:

nb项目,使用zookeeper 地址用的是外网服务器IP地址 sys在外网服务器上 本地启动vue项目
IocBean[webPlatformMainLauncher] throw Exception when creating
服务器上的zookeeper日志显示报错,本地启动sys,在启动vue则没有问题

2019-04-11 11:27:49,728 [myid:] - INFO  [SessionTracker:ZooKeeperServer@355] - Expiring session 0x10003cd20a1000e, timeout of 40000ms exceeded
2019-04-11 11:27:49,728 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@487] - Processed session termination for sessionid: 0x10003cd20a1000e
2019-04-11 11:27:55,727 [myid:] - INFO  [SessionTracker:ZooKeeperServer@355] - Expiring session 0x10003cd20a1000d, timeout of 40000ms exceeded
2019-04-11 11:27:55,728 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@487] - Processed session termination for sessionid: 0x10003cd20a1000d
2019-04-11 11:27:57,927 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@215] - Accepted socket connection from /103.61.154.82:48799
2019-04-11 11:27:57,931 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@949] - Client attempting to establish new session at /103.61.154.82:48799
2019-04-11 11:27:57,935 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@694] - Established session 0x10003cd20a10010 with negotiated timeout 40000 for client /103.61.154.82:48799
2019-04-11 11:27:57,971 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@215] - Accepted socket connection from /103.61.154.82:48803
2019-04-11 11:27:57,971 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@383] - Exception causing close of session 0x0: Len error 1195725856
2019-04-11 11:27:57,971 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1056] - Closed socket connection for client /103.61.154.82:48803 (no session established for client)
2019-04-11 11:28:09,198 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@383] - Exception causing close of session 0x10003cd20a10010: Connection reset by peer
2019-04-11 11:28:09,199 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1056] - Closed socket connection for client /103.61.154.82:48799 which had sessionid 0x10003cd20a10010
2019-04-11 11:28:45,728 [myid:] - INFO  [SessionTracker:ZooKeeperServer@355] - Expiring session 0x10003cd20a10010, timeout of 40000ms exceeded
2019-04-11 11:28:45,728 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@487] - Processed session termination for sessionid: 0x10003cd20a10010

9 回复

zookeeper用的是同一个外网IP地址

不行防火墙关了也不行

telnet能通?

zk只是注册中心,服务还是需要dubbo服务的,dubbo端口也要映射到公网(一般人不这么干)

js和java不是互通的,别想js改java变量,java改js变量这类东西

发错地方了。。

添加回复
请先登陆
回到顶部