"yarn build" returns Error occurred while proxying request localhost:3000

Hello sage community,

I’ve been trying to figure out how to properly setup my project to work on widows using WSL and Laragon.

All the commands are ran through WSL and seem to work fine until I use “yarn build”, I get this error in the termial: :heavy_multiplication_x: [HPM] Error occurred while proxying request localhost:3000/
In the browser: Error occurred while trying to proxy: localhost:3000/

› Proxy ┄ http://sage.test/
› Dev ┄ http://localhost:3000/
http://172.31.117.247:3000/
http://sage.test:3000/
Press h to show help[server] › :heavy_multiplication_x: [HPM] Error occurred while proxying request localhost:3000/ to http://sage.test/ [ECONNREFUSED] (Errors | Node.js v21.6.1 Documentation)

I also tried:

marc@Marc:~$ curl http://sage.test/
curl: (7) Failed to connect to sage.test port 80 after 7 ms: Connection refused

I’m under the impression that the problem has to do with my WSL configuration but I can’t seem to figure it out, it’s pretty new to me.

I know there are many of similar posts and I went through a lot of the suggestions without any success so far.
https://discourse.roots.io/t/error-occurred-while-trying-to-proxy-localhost-3000-in-windows/26347/14
https://discourse.roots.io/t/sage-10-localhost-3000-issue-windows/26557

Coming from Laravel development, I find this theme building option really interesting so I’m hoping to find a solution.

If anyone can help with this it would be greatly appreciated!

Thank you