9 months ago
I'm trying to make our deployments secure by removing any publicly accessible connections. I've read through railway cli documentation that I can connect to my database using railway connect. I have a mongo replica template deployed https://github.com/railwayapp-templates/mongo-replica-set/tree/main and when doing railway connect mongo1 (name of one of replica nodes) I receive an error 'No supported database found in service'
Pinned Solution
9 months ago
Not sure how connect works, but you can always do this with SSH.
Just do railway link, and then right click the replica to get the SSH command.
3 Replies
9 months ago
Not sure how connect works, but you can always do this with SSH.
Just do railway link, and then right click the replica to get the SSH command.
9 months ago
Yes that works! Thank you!
Status changed to Solved brody • 9 months ago