Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-482

Unable to connect: connect ECONNREFUSED 127.0.0.1:27017

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Critical - P2 Critical - P2
    • No version
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      OS: Mac
      node.js / npm versions: node: v21.1.0 npm: 10.2.0
      GitHub Codespaces is the IDE
    • Not Needed

      Problem Statement/Rationale:

      The issue at hand involves the inability to establish a connection, manifested as the error message: "Unable to connect: connect ECONNREFUSED 127.0.0.1:27017." This points to a connection refusal on the localhost at port 27017.

      What is going wrong?

      The system is encountering a connection refusal when attempting to connect to the MongoDB server at the specified address and port.

      What action would I like the Engineering team to take?

      The Engineering team should investigate and resolve the connectivity issue to enable successful connections to the MongoDB server.

            Assignee:
            Unassigned Unassigned
            Reporter:
            onlyibrahim13@gmail.com Ibrahim Usmani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: