Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connectivity problems with WSL2 #5881

Closed
ritmos opened this issue Sep 8, 2020 · 2 comments
Closed

Connectivity problems with WSL2 #5881

ritmos opened this issue Sep 8, 2020 · 2 comments

Comments

@ritmos
Copy link

ritmos commented Sep 8, 2020

Environment

Windows build number: Version 10.0.19041.450
Your Distribution version: 20.04
Whether the issue is on WSL 2 and/or WSL 1: WSL2

Steps to reproduce

  • Install and run mongo daemon in windows
  • execute ubuntu2004 shell
  • execute a nodejs script inside ubuntu shell that connects to local mongo server

Expected behavior

The nodejs script executed with ubuntu2004 shell connects to local mongo server (This works with WSL 1)

Actual behavior

The script returns an error connect MongoNetworkError: failed to connect to server [localhost:27017]on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017]

@therealkenc
Copy link
Collaborator

(This works with WSL 1)

/dupe #4619 for lack of repro.

@ghost
Copy link

ghost commented Sep 9, 2020

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@ritmos @therealkenc and others