Zookeeper(docker外)卡夫卡节点网络中断

随机的时候,我正在面对这个问题,当与kookeeper连接卡夫卡节点。

门户,工人和websockets在码头集装箱内,而kafka zookeeper在外面。 这是码头网络问题还是我错过了一些配置?

events.js:182 throw er; // Unhandled 'error' event ^ Error at ConnectionManager.cleanupPendingQueue (/tmp/node_modules/node-zookeeper-client/lib/ConnectionManager.js:189:46) at ConnectionManager.onSocketClosed (/tmp/node_modules/node-zookeeper-client/lib/ConnectionManager.js:274:10) at emitOne (events.js:115:13) at Socket.emit (events.js:210:7) at TCP._handle.close [as _onclose] (net.js:548:12) Producer { Error at ConnectionManager.cleanupPendingQueue (/tmp/node_modules/node-zookeeper-client/lib/ConnectionManager.js:189:46) at ConnectionManager.onSocketClosed (/tmp/node_modules/node-zookeeper-client/lib/ConnectionManager.js:274:10) at emitOne (events.js:115:13) at Socket.emit (events.js:210:7) at TCP._handle.close [as _onclose] (net.js:548:12) code: -4, name: 'CONNECTION_LOSS', path: undefined, message: 'Exception: CONNECTION_LOSS[-4]' } 

请提前帮助和感谢。