Skip to content

Curl::Err::HostResolutionError on WSL #337

@rogeraraujo90

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?

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