Server only listens on IPv4 · Issue #61 · csernazs/pytest-httpserver · GitHub
Skip to content

Server only listens on IPv4 #61

Description

@WhyNotHugo

It seems that the server only listens on IPv4, but httpserver.host returns localhost.

This will resolve to ::1 on a dual-stack system, so connecting to it will fail. httpserver.host should either return an IPv4 address, or the server should listen on both.

On most OSs, listening to just IPv6 implicitly listens on IPv4, so it might just be a matter of listening on the latter.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions