mongodb - Error during mongo startup -
when type mongo on command prompt output
~$ mongo
mongodb shell version: 2.2.3
connecting to: test
but when type mongo 127.0.0.1:28017/stu1
output :-
mongodb shell version: 2.2.3 connecting to: 127.0.0.1:28017/stu1 mon mar 10 16:56:01 dbclientcursor::init call() failed mon mar 10 16:56:01 error: error during mongo startup. :: caused :: 10276 dbclientbase::findn: transport error: 127.0.0.1:28017 ns: admin.$cmd query: { whatsmyuri: 1 } src/mongo/shell/mongo.js:93 exception: connect failed
os :- ubuntu 12.04
so please me solve error.
28017
default port http admin interface, if config allowing http, should use web browser access http://127.0.0.1:28017/
you're trying use mongo shell access http service.
Comments
Post a Comment