I connect to a remote mongo server using "mongo xx.xx.xx.xxx:27017"
It does not cause problems. but when trying to authenticate using db.auth ({username, password}) it gives 0.
But when I go to this remote machine and run the local client there and try auth. It works great.
Please, help. what could be the problem
source
share