Skip to content

dubbo3.0starter多网卡情况下会随机选择IP绑定端口而没有绑定到0.0.0.0导致无法访问 #807

@zuozhiwen

Description

@zuozhiwen

dubbo-spring-boot-starter 3.0.4及一下,在多网卡的情况下会随机选择IP绑定端口,即使通过设置

dubbo.provider.host = ${HOSTNAME}

本质上还是会从底层随机选择IP绑定,这样即使在服务发现里面看上去是正常的,但是由于IP没绑定对,导致无法通讯。
建议:
多网卡的情况下,直接将端口绑定到0.0.0.0。

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