1

Hey guys I am new to MongoDB. I have successfully installed and setup environment variables, I run command mongod its start. After that I run command mongo its run but its only showing in cmd like

**C:\Program Files\MongoDB\Server\3.6\bin>mongo

MongoDB shell version v3.6.3

connecting to: mongodb://127.0.0.1:27017**

it is not getting connect only showing, connecting . Anyone here who can help me out?

2
  • how did you run mongod? Was it run successfully? Commented Mar 20, 2018 at 11:55
  • i am running command "mongod" or even tried "mongod.exe",yes it is running successfully Commented Mar 21, 2018 at 5:18

3 Answers 3

2

Remove Your Installation and try this https://javabeat.net/monogodb-installation-windows/

Sign up to request clarification or add additional context in comments.

1 Comment

facing same problem
1

Have you tried with ending the process from task manager. If not then try for once that may help. I was also getting this kind of issue and solved it when I ended all the running processes related to mongodb and run the command again.

Comments

0

Did the prompt show again after you launch mongod ?

13 Comments

it is just showing waiting for connection on port 27017, but not showing prompt again.
It's weird, in your mongod console, it show that it accept connection and you don't have error log.
Try with MongoDB Compass if it can connect to mongo server
I have tried with Compass and with MongoBooster too, I am still unable to solve this issue.
Did you enabled authentication ? Can you show me your config file pls ?
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.