Here is the same error and solution: https://github.com/laravel/valet/issues/1022#issuecomment-761573060
Feb 17, 2022
3
Level 12
cURL error 7 when running valet share
When running valet share, it is returning a curl error. Please see the error below.
In CurlFactory.php line 210: cURL error 7: Failed to connect to 127.0.0.1 port 4041 after 0 ms: Connecti on refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for htt p://127.0.0.1:4041/api/tunnels
I also tried to run ngrok authtoken [token], but it's still not working.
Any idea with this?
Please or to participate in this conversation.