Direct database connection error

when i trying to connect moralis database instance with node js or mongodb compass. i am getting this error MongoServerSelectionError: connection to 139.59.39.87:56728 closed

you have to add your public IP the the list of whitelisted IPs in admin interface

you can create another forum thread for this issue, it seems unrelated