Next.js dev server runs but localhost won’t open (WSL + Cursor setup) #86907
Unanswered
primeautomation-dev
asked this question in
Help
Replies: 1 comment
-
|
Enable WSL2 mirrored networking by creating/editing Then run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I’m running a Next.js project inside WSL (Ubuntu) using Cursor.
The dev server starts normally and shows:
Local: http://localhost:5173
Network: http://0.0.0.0:5173
But when I open localhost:5173 in the Windows browser, it refuses to connect.
I already tried:
It still doesn’t open.
What could be causing this and how can I fix the Windows ↔ WSL connection for Next.js dev server?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions