Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

IPv6 support #586

Description

@netmilk

Dredd is resolving hostnames always to the IPv4 address. When the backend is listening on IPv6 localhost ::1 and Dredd's server parameter is a hostname http://localhost:3000 the hostname is resolved to the IPv4 address 127.0.0.1 and all tests will fail with ECONNREFUSED:

error: Error connecting to server under test!

Some servers in some constellations are listening on the IPv6 only by default. The workaround solution is to force them to listen on the IPv4 localhost with some equivalent of:

rails server --binding=127.0.0.1

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