Skip to content

Curl::Err::HostResolutionError on WSL #337

Description

@rogeraraujo90

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions