puma-dev
puma-dev 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:
Couldn't resolve host name: Could not resolve host: myapp.localhost
I can access myapp.localhost
in the browser.
What should I do in this case?