couchdb icon indicating copy to clipboard operation
couchdb copied to clipboard

Allow to listen on multiple (but not all) addresses. I.e. multiple bind_address entries in local.ini.

Open zarac opened this issue 7 years ago • 2 comments

It'd be nice to be able to listen to multiple addresses without having to listen on 0.0.0.0.

Format could be either: bind_address=127.0.0.1 bind_address=10.0.0.2 bind_address=192.168.0.2

or: bind_address=127.0.0.1 10.0.0.2 192.168.0.2

zarac avatar Aug 30 '18 08:08 zarac

BUMP. I am with you. Really need this feature.

For security reason, it is good idea to bind node to an internal network interface, but it also disables "localhost". Replication which refers to "localhost" stops working and you probably cannot refer single node for replication (how does replicated "replication document" work in reality???)

ondra-novak avatar Jul 04 '19 22:07 ondra-novak

Not only a useful feature, it is security related. "Secure by design" does not bind any ip and firewalls or authenticates the unwanted. It only allows to bind necessary ip addresses to avoid exposition at all.

Is on "need more info". What info is required?

pstadt avatar Mar 12 '25 17:03 pstadt