Ubuntu WSL - Connection was reset #1657
Replies: 10 comments
-
Any other node project working correctly? |
Beta Was this translation helpful? Give feedback.
-
Yes. Here is a simple express project: |
Beta Was this translation helpful? Give feedback.
-
Good. How do you create you'r barebones project? It's good if you provide steps or repo itself. |
Beta Was this translation helpful? Give feedback.
-
I just followed instructions from here: https://vike.dev/new |
Beta Was this translation helpful? Give feedback.
-
Did you use Bati for scaffold? And can you please build and run by: npm run build && node server . We need to know it's dev mode or more |
Beta Was this translation helpful? Give feedback.
-
This is all what I did. |
Beta Was this translation helpful? Give feedback.
-
ok, got it. Well, try Bati with h3, i think it can help you. Now i don't have wsl for this tests |
Beta Was this translation helpful? Give feedback.
-
@isakura313 I am sorry I don't follow. What is "Bati with h3"? |
Beta Was this translation helpful? Give feedback.
-
This doesn't seem related to Vike, but feel free to let me know if you have evidence it's Vike related. |
Beta Was this translation helpful? Give feedback.
-
Description
I created a react project using vike. I haven't added anything. It's just a barebones project. I ran
npm run dev
inside WSL. And then when I goto the browser, it says "connection was reset".Ports are also forwarded correctly.
I also changed the host to
0.0.0.0
inserver/index.ts
. Nothing works.Also tried using the same host in
vite.config.ts
.Running on Ubuntu 22.04 LTS using Windows WSL Feature.
Please help me.
Beta Was this translation helpful? Give feedback.
All reactions