WSL2 Proxy Setting

Isshiki🐈
1 min readSep 7, 2020

--

On WSL1 it was like

But since WSL2 runs on a virtual machine kind of thing and doesn’t share the same localhost (127.0.0.1) with my PC, things are more complicated now

We use the first line to help us get the IP of the host machine (my PC in my case) on system startup (since people say the IP will vary every time), and the second will create an alias accordingly for you.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Isshiki🐈
Isshiki🐈

Responses (2)

Write a response