node.js - How to enable --rest in Windows XP 32 bit -
i have installed mongo db window service , verified service in msconfig. version 2.0.6 compatible of windows xp 32bit. , wanted use simple rest interface through browser localhost:28017/databasename/collectionname/
i stored data via node.js , know can retrieve data through command line. want view rest interface through browser.
since browser shows "rest not enabled. use --rest turn on. check port 28017 secured network too." think suppose enable --rest on command line don't know how , enter it.
if mongodb installed --config file, can enable rest there:
rest=true otherwise, you'll have re-install mongodb --config file or --rest enabled after stopping , deleting existing mongodb service:
mongod.exe --install --rest ... or, through regedit, can edit service's imagepath.
Comments
Post a Comment