Answer the question
In order to leave comments, you need to log in
How to disable anonymous connections to mongodb?
did everything like here https://docs.mongodb.org/v3.0/tutorial/enable-auth... , but at startup mongod --auth
you can still connect anonymously remotely. How to disable anonymous access?
Answer the question
In order to leave comments, you need to log in
Have you added admins to the database? (without them, auth is not enabled in some versions)
Try to execute a request to get / change data, perhaps there is still no access.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question