You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Joey Samonte <cs...@hotmail.com> on 2016/09/09 02:28:59 UTC

Ports used by CouchDB for clustering

Good day,
 
I have spent days trying to setup clustering. I have opened the following ports 4369, 5984, 5986, but still can't get it to work. Finally, I decided to disable the firewalls in all my nodes. This seemed to have temporarily fixed the issue. Which ports are actually used by CouchDB and Erlang for clustering?
 
Thanks.
 		 	   		  

RE: Ports used by CouchDB for clustering

Posted by Joey Samonte <cs...@hotmail.com>.
Thanks! This works! :)
 
> Date: Thu, 8 Sep 2016 22:32:39 -0400
> From: wohali@apache.org
> To: dev@couchdb.apache.org
> Subject: Re: Ports used by CouchDB for clustering
> 
> Hi Joey,
> 
> Erlang itself has parameters you will want to adjust. Place these
> lines in your etc\vm.args file:
> 
> -kernel inet_dist_listen_min <port#>
> -kernel inet_dist_listen_max <port#>
> 
> Ports within this range will be used for communication across the
> distributed Erlang cluster. If you set them both to the same number,
> only that port will be used.
> 
> You will still need the port mapper port (4369) open.
> 
> Reference: http://erlang.org/faq/how_do_i.html
> 
> 
> ----- Original Message -----
> > From: "Joey Samonte" <cs...@hotmail.com>
> > To: dev@couchdb.apache.org
> > Sent: Thursday, September 8, 2016 10:28:59 PM
> > Subject: Ports used by CouchDB for clustering
> > 
> > Good day,
> >  
> > I have spent days trying to setup clustering. I have opened the
> > following ports 4369, 5984, 5986, but still can't get it to work.
> > Finally, I decided to disable the firewalls in all my nodes. This
> > seemed to have temporarily fixed the issue. Which ports are actually
> > used by CouchDB and Erlang for clustering?
> >  
> > Thanks.
> > 
 		 	   		  

Re: Ports used by CouchDB for clustering

Posted by Joan Touzet <wo...@apache.org>.
Hi Joey,

Erlang itself has parameters you will want to adjust. Place these
lines in your etc\vm.args file:

-kernel inet_dist_listen_min <port#>
-kernel inet_dist_listen_max <port#>

Ports within this range will be used for communication across the
distributed Erlang cluster. If you set them both to the same number,
only that port will be used.

You will still need the port mapper port (4369) open.

Reference: http://erlang.org/faq/how_do_i.html


----- Original Message -----
> From: "Joey Samonte" <cs...@hotmail.com>
> To: dev@couchdb.apache.org
> Sent: Thursday, September 8, 2016 10:28:59 PM
> Subject: Ports used by CouchDB for clustering
> 
> Good day,
>  
> I have spent days trying to setup clustering. I have opened the
> following ports 4369, 5984, 5986, but still can't get it to work.
> Finally, I decided to disable the firewalls in all my nodes. This
> seemed to have temporarily fixed the issue. Which ports are actually
> used by CouchDB and Erlang for clustering?
>  
> Thanks.
>