zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grigory Dzhavadyan <grigory.javad...@gmail.com>
Subject Determining network interface
Date Wed, 20 Jun 2012 18:57:53 GMT
I have a client that connects to Zookeeper and has to publish its IP
address in a certain node. The machine that runs the client can have
multiple NICs and I want to publish the IP address of the one through
which the machine is connected to the zookeeper server. Is there a way
to determine which network interface I am connected to zookeeper
through?

Thanks,
Grigory

Mime
View raw message