After exhaustive testing using the setting you recommend, here’s what I’ve discovered.
Accessing through http://localhost:3000 does not work for me. I receive the following error
[proxy] › ✖ [HPM] Error occurred while proxying request localhost:3000/ to https://woodlands.local/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_
[proxy] › ✖ [HPM] Error occurred while proxying request localhost:3000/favicon.ico to https://woodlands.local/ [ECONNREFUSED] (https://nodejs.org/api/errors.h
If I restart my computer and use “yarn dev --browser” the browser opens at http://0.0.0.0:3000/ and everything works as expected sometimes. However, I’ve had this sequence not work from a fresh restart as well. Occasionally things will also just stop working as well.
When I do get that error it comes back in the same format as the previous
[proxy] › ✖ [HPM] Error occurred while proxying request 0.0.0.0:3000/ to https://woodlands.local/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_co
[proxy] › ✖ [HPM] Error occurred while proxying request 0.0.0.0:3000/favicon.ico to https://woodlands.local/ [ECONNREFUSED] (https://nodejs.org/api/errors.htm
Every time that happens I need to restart. I’ve tried ctrl+c to close out the script, closing out terminal altogether, and restarting local.
Also in my testing, I noticed if I restart and go to http://localhost:3000 first, I get the same error and the 0.0.0.0:3000/ address returns the error as well.
In addition, I’ve tried adding a favicon to the document root, and it makes no difference in the errors returned.
However, the site in Local is under the https protocol. With that setup, I’m still having issues. I will try a new site without SSL when I have a chance to see if that makes a difference.
Weird it does work for me if site itself is on https but I just need to serve proxy to http on localhost but I use Valet for my local dev so maybe that has some effect on it…
It’s still working for me. Can you confirm you have set the@certs path to a directory that exists and that the .crt and .key files for your domain exist in that directory?