mongodb Error: couldn't connect to server 127.0.0.1:27017

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/

      Follow the installation steps end-up with "mongodb Error: couldn't connect to server 127.0.0.1:27017" when run the command "mongo"

      Command "brew services start mongodb-community@4.4" status stated service is started, but actually service is not started and nothing in mongodb.log file.

       

      And so many have the same issue and asking all over the internet, but no answer from mongoDB team, left everybody like a headless chicken. 

       

            Assignee:
            Edwin Zhou
            Reporter:
            Amon Kwok
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: