Skip to content

监听 ipv6 #1094

@ZxwyWebSite

Description

@ZxwyWebSite

虽然使用纯 ipv6 服务器的人比较少,但我认为这个需求还是有必要的

Fiber 默认只能监听 ipv4 地址,需要在配置中将 Network 设为 NetworkTCP

这样两种地址就都可以监听了,增加了可供用户的选择

参考文档:https://docs.fiber.org.cn/api/fiber/#config

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