puma-dev icon indicating copy to clipboard operation
puma-dev copied to clipboard

Curl::Err::HostResolutionError on WSL

Open rogeraraujo90 opened this issue 1 year ago • 2 comments

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?

rogeraraujo90 avatar May 30 '23 20:05 rogeraraujo90