Skip to content

Unable to connect to local mongodb on WSL2 #253

@PGlivicky

Description

@PGlivicky

When trying to connect to a local mongodb, I'm getting: Unknown or unsupported transport “disabled” for address “disabled:” I'm running VS Code in WSL2 (Ubuntu).

Bug Report

Current Behavior

Installed the extension, clicked 'Add Connection' -> 'Connection String', entered connection string 'mongodb://127.0.0.1:3001/meteor', got 'Unknown or unsupported transport “disabled” for address “disabled:”' error.

Mongodb instance is correctly running in my meteor app at the time, the connection string is correct (the default, checked it by meteor mongo -U)

Code/Gist

Expected Behavior/Code

Should connect to my local mongodb.

Environment

  • node.js / npm versions: node v12.20.1/npm 6.14.8
  • OS: WSL2 (Ubuntu)

Possible Solution

Additional Context/Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions