How to connect mongodb on localhost:27017 in window?

674    Asked by ananyaPawar in Devops , Asked on Jun 27, 2021

mongodb.bat

"C:Program FilesMongoDBServer3.4binmongo.exe" --dbpath "f:mongodbdata"

My localhost Run on port: 8080

I can't mongodb connect Robomongo.

How connect robomongo connect to mongodb for Node.js in Windows8.1 64-bit?

Answered by debbie Jha

You should change your mongodb localhost 27017 into the below-mentioned command:-

    "C:Program FilesMongoDBServer.4inmongod.exe" --dbpath "f:mongodbdata"


Your Answer

Interviews

Parent Categories