Securely connecting to a MongoDB instance hosted on Railway
maiertech
HOBBYOP

9 months ago

I would like to connect to a MongoDB service via the public network using MongoDB compass. This is only possible via mongodb://... which is not encrypted.

How do other devs connect to their MongoDB instances from your dev machine when you quickly want to look at data in your MongoDB?

Solved

1 Replies

sarahkb125
EMPLOYEE

9 months ago

You should use the mongodb+srv:// connection string format, which supports TLS/SSL encryption, ensuring secure connections. Additionally, you can enable the TCP Proxy feature on Railway to connect externally to the MongoDB instance securely.


Status changed to Awaiting User Response Railway 9 months ago


Status changed to Solved sarahkb125 9 months ago


Loading...