Skip to content
Unable to connect to mongodb with public url with compass
mannyyang
OP

2 years ago

I'm unable to use compass to directly connect to the mongodb database with a public URL. The data tab also has issues connecting as it gets stuck on the loading stage on the database connection step. It works fine through the private network as the other services are able to connect to it but for some reason breaks on the public URL.

Solved

2 Replies

2 years ago

Hello,

You had the Mongo Public URL set incorrectly, and you had the TCP Port set to the wrong port.

I've fixed these for you and the data tab loads again, meaning you can now connect to it from compass.

Best,

Brody


Status changed to Awaiting User Response Railway • almost 2 years ago


mannyyang
OP

2 years ago

thank you!


Status changed to Awaiting Railway Response Railway • almost 2 years ago


Status changed to Solved brody • almost 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...