You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered: