Skip to content

Listening on INADDR6_ANY not possible #1582

Description

@Grimeton

Hi,

when starting the server while trying to listen on INADDR6_ANY, also known as "::", the server errors out. It's not accepting a simple "::". According to RFC4038 the addresses should be placed in brackets, even when not using a port, so the "::" turns into "[::]", doesn't work either.

After switching to the --bind-addr parameter the situation got worse, because now, using "::" together with a port isn't possible anymore. When following RFC4038 I'm neither able to use "[::]", nor "[::]:1234".

Same happens with INADDR6_LOOPBACK, e.g. "::1" or "[::1]" or "[::1]:1234".

KR,

G.

Activity

  1. changed the title [-]Listening on INADDR6_ANY not posisble[/-] [+]Listening on INADDR6_ANY not possible[/+] on Apr 30, 2020
  2. nhooyr commented on May 18, 2020

    @nhooyr
    Contributor

    Nice catch!

  3. added this to the v3.4.0 milestone on May 18, 2020
  4. modified the milestones: v3.4.0, v3.5.0 on May 27, 2020
  5. modified the milestone: v3.5.0 on Aug 25, 2020
  6. modified the milestones: v3.5.0, v3.5.1 on Aug 29, 2020
  7. self-assigned this
    on Sep 30, 2020
  8. added 2 commits that reference this issue on Sep 30, 2020
    114aecd
    11eaf0b
  9. linked a pull request that will close this issueHTTP server listen fixes #2146on Sep 30, 2020
  10. code-asher commented on Oct 7, 2020

    @code-asher
    Member

    Fixed and will be in 3.6.0.

  11. 12 remaining items

  12. added this to the April 2022 milestone on Mar 22, 2022
  13. qiurigao commented on Mar 31, 2022

    @qiurigao

    It still does not work for me. Using version 4.3.0

  14. jsjoeio commented on Mar 31, 2022

    @jsjoeio
    Contributor

    This hasn't been fixed yet. But we think we can fix it in the near future.

  15. jsjoeio commented on Mar 31, 2022

    @jsjoeio
    Contributor

    PRs welcome!

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions