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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -