microsoft / microsoft/WSL

How to access service on WSL Host when Consomme is used?

Open
#41,185 3 comments 0 reactions 1 assignee Claimed by @benhillis View on GitHub
question
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

Hi,

I recently tried the new Consomme Networking mode to get around some VPN issues. Looks fine in the WSL Distro itself! I was able to reach a service running on the host through `localhost` and services on the other side of the VPN tunnel.

I tried the same thing from a docker container, but I could not figure out how to reach the a service on the WSL host. I tried:

- `localhost`
- `169.254.73.250`
- `169.254.73.249`
- Public IP of the WSL host that seems to be mapped into WSL

Any ideas how to accomplish this?

Thanks!

Christoph

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.