We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 461aada commit 51be692Copy full SHA for 51be692
bin/zkServer.sh
@@ -276,6 +276,11 @@ status)
276
if [ "$secureClientPort" ] ; then
277
isSSL="true"
278
clientPort=$secureClientPort
279
+ clientPortAddress=`$GREP "^[[:space:]]*secureClientPortAddress[^[:alpha:]]" "$ZOOCFG" | sed -e 's/.*=//'`
280
+ if ! [ $clientPortAddress ]
281
+ then
282
+ clientPortAddress="localhost"
283
+ fi
284
else
285
echo "Unable to find either secure or unsecure client port in any configs. Terminating."
286
exit 1
0 commit comments