You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "haozi000005 (GitHub)" <gi...@apache.org> on 2019/02/21 09:37:07 UTC
[GitHub] [incubator-dubbo] haozi000005 opened issue #3535: ProtocolConfig配置不生效
### Environment
* Dubbo version: 2.7.0
* Operating System version: Windows
* Java version: 1.8
我从dubbo2.6.5升级到2.7.0之后,通过ProtocolConfig配置,如下:
`@Bean
public ProtocolConfig protocolConfig() {
ProtocolConfig config = new ProtocolConfig();
config.setName("dubbo");
config.setServer("netty4");
config.setPort(10003);
config.setHost("192.168.1.11");
config.setSerialization("hessian2");
config.setThreads(500);
return config;
}`
来配置我要暴露的地址,结果通过zk客户端工具查看到providers下面注册的内容value是127.0.0.1,我的consumer也一直都连不上这个服务,consumer在另外的局域网地址上。请问如何解决此问题,在dubbo2.6.5的时候是192.168.1.11
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3535 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo] chickenlj commented on issue #3535: ProtocolConfig配置不生效
Posted by "chickenlj (GitHub)" <gi...@apache.org>.
@haozi000005 有问题原因的进展么?我来尝试复现一下问题
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3535 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo] limng06 commented on issue #3535: ProtocolConfig配置不生效
Posted by "limng06 (GitHub)" <gi...@apache.org>.
我从dubbo2.6.5升级到2.7.0之后 xml中的 rest protocol配置也失效了
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3535 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org