Windows 10 – WSL2 브라우저로 접근하기

By | 2024년 2월 6일
Table of Contents

Windows 10 – WSL2 브라우저로 접근하기

WSL2 에서 실행한 웹서버에 접근하는 방법을 설명합니다.
설명이랄 것 조차 없이 그냥 접근이 됩니다.

웹서버 실행

mkdir web
cd web/
vi index.html

cat index.html
Hello, World!

python3 -m http.server

윈도우 브라우저로 접근하기

그냥 http://localhost:8000/ 에 접속하면 연결이 됩니다.

답글 남기기