Skip to content

docker启动dubbo项目之后,telnet可以通信,注册中心的IP还是容器IP #71

@wjyuian

Description

@wjyuian

最近遇到docker容器中运行dubbo provider时,注册ip的问题。

找到样例https://github.com/apache/incubator-dubbo-samples/tree/master/dubbo-samples-docker;

按照里面的示例,成功运行容器,并且指定的IP,telnet可以正常操作,应该是可以通信的。

不过,注册到注册中心的还是容器的IP,意味着消费者获取的IP还是无法通信的。

是不是要升级到最新的dubbo?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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