Home > Back-end >  Springboot server startup project configuration zookeeper (server address: 2181), but the log shows
Springboot server startup project configuration zookeeper (server address: 2181), but the log shows

Time:01-16

The 2019-04-30 10:00:21. 488 INFO [gather surplus - smoke - server - dev,,,] 122300 - [0:0:0:0:1:21 81)] org. Apache. The zookeeper. ClientCnxn: Opening a socket connection to the server 0:0:0:0:0:0:1-0/0:0:0:0:0:0:0:1:21 81. Will not attempt to authenticate using SASL (unknown error)
The 2019-04-30 10:00:22. 507 WARN [gather surplus - smoke - server - dev,,,] 122300 - [0:0:0:0:1:21 81)] org. Apache. The zookeeper. ClientCnxn: Session 0 x0 for server null, unexpected error, closing the socket connection and attempting the reconnect

java.net.ConnectException: Connection refused: no further information
At sun. Nio. Ch. SocketChannelImpl. CheckConnect (Native Method) ~ [na: 1.8.0 comes with _144]
At sun. Nio. Ch. SocketChannelImpl. FinishConnect (SocketChannelImpl. Java: 717) ~ [na: 1.8.0 comes with _144]
The at org. Apache. Zookeeper. ClientCnxnSocketNIO. DoTransport (ClientCnxnSocketNIO. Java: 361) ~ [zookeeper - 3.4.9. Jar: 3.4.9-1757313]
The at org. Apache. The zookeeper. ClientCnxn $SendThread. Run (ClientCnxn. Java: 1141) ~ [zookeeper - 3.4.9. Jar: 3.4.9-1757313]


The 2019-04-30 10:00:16. 102 INFO [gather surplus - smoke - server - dev,,,] 122300 - [127.0.0.1:2181)] org. Apache. The zookeeper. ClientCnxn: Opening a socket connection to the server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
The 2019-04-30 10:00:17. 125 WARN [gather surplus - smoke - server - dev,,,] 122300 - - [127.0.0.1:2181)] org. Apache. The zookeeper. ClientCnxn: Session 0 x0 for server null, unexpected error, closing the socket connection and attempting the reconnect

java.net.ConnectException: Connection refused: no further information
At sun. Nio. Ch. SocketChannelImpl. CheckConnect (Native Method) ~ [na: 1.8.0 comes with _144]
At sun. Nio. Ch. SocketChannelImpl. FinishConnect (SocketChannelImpl. Java: 717) ~ [na: 1.8.0 comes with _144]
The at org. Apache. Zookeeper. ClientCnxnSocketNIO. DoTransport (ClientCnxnSocketNIO. Java: 361) ~ [zookeeper - 3.4.9. Jar: 3.4.9-1757313]
The at org. Apache. The zookeeper. ClientCnxn $SendThread. Run (ClientCnxn. Java: 1141) ~ [zookeeper - 3.4.9. Jar: 3.4.9-1757313]

CodePudding user response:

You configure IP address is which

CodePudding user response:

Is this problem solved, please
  • Related