curb
curb copied to clipboard
Curl::Err::HostResolutionError on WSL
I have an app running in Ubuntu 22.04 WSL through puma-dev and another app running on localhost:3000.
When the app on localhost:3000 tries to redirect to the app on puma-dev I'm getting this error:
Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: myapp.localhost
I can access myapp.localhost in the browser.
might this be an error with curb itself? I'm asking in puma-dev and wsl repos too.