I am having problem connecting to MongoDB from NodeJS using following sample code. I tried running \"mongod\" with or without sudo but nodejs code still fail to connect. I a
Never mind, I was able to resolve the issue by using 127.0.0.1 instead of localhost, not sure why I have to use ip address. My tomcat, apache, redis, and even node server all works using localhost but not the mongodb. Is there is config I need change to make it work using local host?