Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-51861

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

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      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. 

       

      Attachments

        Activity

          People

            edwin.zhou@mongodb.com Edwin Zhou
            aependy@gmail.com Amon Kwok
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: