Skip to content

http2.connect is Not Accepting IPv6 Addresses #28216

@anliting

Description

@anliting
let
    http2=require('http2'),
    server=http2.createServer()
server.listen(8000,'::1',()=>{
    http2.connect('http://[::1]:8000',()=>{
        console.log('listener called')
    })
})

Expected: console.log('listener called')
Result: Error: getaddrinfo ENOTFOUND [::1] [::1]:8000

Metadata

Metadata

Assignees

No one assigned

    Labels

    http2Issues or PRs related to the http2 subsystem.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions