Dokploy mongodb database not connecting to Atlas Compass
I am trying to use mongodb atlas compass app to connect to dokploy mongodb via the external link but it is not working. Is this possible?
3 Replies
Even when I try to connect to mongodb using the external connection url in the dokploy terminal, I get this error
it works no problem for me by just copy pasting the provided url from dokply to compass
make sure you have authentication set as username/password and authmechanism to default
connection string I use for example is:
mongodb://user:password@IP:PORT/
Not sure why it still doesn't work. It might be a whitelist issue. I guess I have to use Atlas mongodb
I have solved it. I am using AWS EC2 and forgot to set the inbound rules for the external port