I cannot access http: // localhost: 28017 when auth is enabled for mongod; it always gives username / password, even if I fill in the username / password correctly. I included HTTP and REST in the initial parameter file.
YAML format parameters file that I use:
net:
port: 27017
http:
enabled: true
RESTInterfaceEnabled: true
security:
authorization: enabled
But when I turn off authorization mongod, I can enter http: // localhost: 28017 successfully, without having to enter a username / password.
What reason? Does the HTTP console support authorization for version 3.0? My version is 3.0.2.
source
share