puma / puma-dev

A tool to manage rack apps in development with puma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Curl::Err::HostResolutionError on WSL

rogeraraujo90 opened this issue · comments

commented

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?