MongoDB replica set problem

Hello, I want to setup a 3 node replica set to enable transactions and other important features. However, I find it frustrating to achieve in the Railway platform due to lack of SSH access. Can you share how to deploy 3 nodes replica set? related: https://discord.com/channels/713503345364697088/1175311111634026496/1175311111634026496
Solution:
Thanks @Brody I solved the problem. For some reason the mongo shell won't connect to the database for several attempts to perform the last step.
Jump to solution
8 Replies
Percy
Percy12mo ago
Project ID: N/A
elyas_eagle
elyas_eagleOP12mo ago
N/A
Brody
Brody12mo ago
lets ask @Nacho Codoñer but nacho was indeed able to get it working, theres likely something small you have overlooked during your setup
Solution
elyas_eagle
elyas_eagle12mo ago
Thanks @Brody I solved the problem. For some reason the mongo shell won't connect to the database for several attempts to perform the last step.
Brody
Brody12mo ago
glad to hear!
simoelalj
simoelalj12mo ago
Hello @elyas_eagle @Nacho Codoñer I would love to have any feedback or insights on how to set up a mongodb replica
elyas_eagle
elyas_eagleOP12mo ago
if you're using MongoDB Compass don't forget to enable "Direct connection" after the setup
No description
Want results from more Discord servers?
Add your server