Alteryx Server

Find answers, ask questions, and share expertise about Alteryx Server.

how do i connect 3 node Mongo 4.2 DB cluster where i have replica set as well.

7 - Meteor

how do i connect 3 node Mongo 4.2 DB cluster where i have replica set as well.I am configuring controller. i found old KB

replicaset/Ip:port, IP:port, it is working.



can i use new URI  for host :




Hi @hdkarki ,

for which purpose do you want to use this new URI?




(If this post helps, then please consider Accept it as the solution to help the other members find it more quickly).

7 - Meteor

I have Alteryx server installed on Windows server and mongo db (3 node) installed on Linux server with replica set.  Controller works with replicatset/host:port, host:port but gallery is not working 

9 - Comet

Hi @hdkarki ,


Gallery will not connect to MongoDB directly. 


In the system config, it just need to input the controller host name. 


For the URL of Alteryx Gallery, it should be https://hostname/gallery or https://DNSname/gallery.


Best Regards,



8 - Asteroid

hi @hdkarki 

Are you trying to configure standalone gallery  with Mongo 3 set replica?


If thats the case then u should remove rs0 from the replica set.

eg: For controller u will configure it as rs0\replicaaset1:27017,replicaset2:27017,replicaset3:27017


But for gallery it will be : replicaset1:27017,replicaset2:27017,replicaset3:27017


Hope this helps