Zookeeper: port type issue