You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Chris Darroch (JIRA)" <ji...@apache.org> on 2009/07/17 21:38:14 UTC

[jira] Created: (ZOOKEEPER-478) support custom hostnames for client and quorum connections

support custom hostnames for client and quorum connections
----------------------------------------------------------

                 Key: ZOOKEEPER-478
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-478
             Project: Zookeeper
          Issue Type: Improvement
          Components: quorum, server
    Affects Versions: 3.2.0
            Reporter: Chris Darroch
            Priority: Minor


Our system administrators would love it if we could configure ZooKeeper to listen for client and quorum connections on a hostname which isn't bound to the localhost.

Maybe there's some neat way to do this I'm not aware of already, of course, but it looks to me like we would need to change the two ss.socket().bind(new InetSocketAddress(port)); calls, one in NIOServerCnxn and one in QuorumCnxManager to so that they instead used InetSocketAddress(host, port).  Obviously that implies some optional definition of a hostname in the config file as well and possibly on the command-line.

Does that seem like the right approach?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.