javascript - Cannot use MongoDB -
i have been next tutorial utilize node.js, express, jade , mongodb together. have been having problem using database, starting when seek access info in jade, @ point cannot access via command prompt.
whenever navigate installed location (c:/mongo/bin) , come in command:
mongo
i back:
mongodb shell version 2.6.5 connecting to: test warning: failed connect 127.0.0.1:27017, reason: errno:10061 no connection made because target machine actively refused it.
could please help me figure out how utilize mongodb 1 time again on computer? worked 1 time before when installed it. note, using windows 8.1
mongo
shell cli interact mongo server. far know still need start mongo server first.
check in explorer other files in bin directory. there should mongod.exe
file. when open command line should open. long open, server running , should able interact through mongo
command.
javascript mongodb
No comments:
Post a Comment