Mongo db atlas Setup

Hey guys, I am having trouble setting mongo db atlas,

wrong credentials

try connect manual to db

Hey enotko, thanks for replying

By manually you mean via the code ?

i mean check host/port/login/password/dbname

i usually use mongodb compass to connect

Thing is I am running it on digital ocean and hosting the db on atlas