Zookeeper listen only to IPv6 interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zookeeper (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
ii zookeeper 3.3.3+dfsg2-
ii zookeeperd 3.3.3+dfsg2-
I was getting time out from Juju agents and I realised that they try to connect via ipv4
but zookeeper listen only to ipv6:
root@server-54:~# netstat -lt
tcp 0 0 *:ssh *:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
tcp6 0 0 [::]:2181 [::]:* LISTEN
After some search I found this flag to force IPv4:
JAVA_
Hi Patrick
Please could you provide a few more details about your IPv4/IPv6 setup? I'm running a dual stack IPv4/6 configuration and don't appear to have the same issue.